{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 宏观经济数据\n",
    "\n",
    "- 来自tushare.org的宏观经济shu j\n",
    "\n",
    "宏观经济数据提供国内重要的宏观经济数据，目前只提供比较常用的宏观经济数据，通过简单的接口调用可获取相应的DataFrame格式数据，大项主要包括以下类别：\n",
    "\n",
    "    金融信息数据\n",
    "    国民经济数据\n",
    "    价格指数数据\n",
    "    景气指数数据\n",
    "    对外经济贸易数据\n",
    "\n",
    "【注：以下所有数据的结果打印只显示了前10行记录】\n",
    "存款利率\n",
    "\n",
    "调用方法：\n",
    "```\n",
    "import tushare as ts\n",
    "\n",
    "ts.get_deposit_rate()\n",
    "```\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import tushare as ts\n",
    "\n",
    "drate = ts.get_deposit_rate()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "drate = drate.sort_values(\"date\",ascending=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>date</th>\n",
       "      <th>deposit_type</th>\n",
       "      <th>rate</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>545</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>协定存款(定期)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>532</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>定活两便(定期)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>544</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>通知存款(一天)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>543</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>通知存款(七天)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>542</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>零存整取、整存零取、存本取息定期存款(一年)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>541</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>零存整取、整存零取、存本取息定期存款(五年)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>540</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>零存整取、整存零取、存本取息定期存款(三年)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>535</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>定期存款整存整取(三个月)</td>\n",
       "      <td>7.56</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>538</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>定期存款整存整取(一年)</td>\n",
       "      <td>11.34</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>537</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>定期存款整存整取(五年)</td>\n",
       "      <td>14.94</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>536</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>定期存款整存整取(三年)</td>\n",
       "      <td>13.14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>534</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>定期存款整存整取(二年)</td>\n",
       "      <td>12.20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>533</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>定期存款整存整取(半年)</td>\n",
       "      <td>9.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>539</th>\n",
       "      <td>1989-02-01</td>\n",
       "      <td>活期存款(不定期)</td>\n",
       "      <td>2.88</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>525</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>活期存款(不定期)</td>\n",
       "      <td>2.88</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>531</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>协定存款(定期)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>530</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>通知存款(一天)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>529</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>通知存款(七天)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>527</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>零存整取、整存零取、存本取息定期存款(五年)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>526</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>零存整取、整存零取、存本取息定期存款(三年)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>528</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>零存整取、整存零取、存本取息定期存款(一年)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>524</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>定期存款整存整取(一年)</td>\n",
       "      <td>10.08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>522</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>定期存款整存整取(三年)</td>\n",
       "      <td>11.88</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>521</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>定期存款整存整取(三个月)</td>\n",
       "      <td>6.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>520</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>定期存款整存整取(二年)</td>\n",
       "      <td>11.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>519</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>定期存款整存整取(半年)</td>\n",
       "      <td>7.74</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>518</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>定活两便(定期)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>523</th>\n",
       "      <td>1990-04-15</td>\n",
       "      <td>定期存款整存整取(五年)</td>\n",
       "      <td>13.68</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510</th>\n",
       "      <td>1990-08-21</td>\n",
       "      <td>定期存款整存整取(一年)</td>\n",
       "      <td>8.64</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>517</th>\n",
       "      <td>1990-08-21</td>\n",
       "      <td>协定存款(定期)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>2015-06-28</td>\n",
       "      <td>定期存款整存整取(三个月)</td>\n",
       "      <td>1.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>2015-06-28</td>\n",
       "      <td>定期存款整存整取(二年)</td>\n",
       "      <td>2.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>通知存款(一天)</td>\n",
       "      <td>0.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>活期存款(不定期)</td>\n",
       "      <td>0.35</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>通知存款(七天)</td>\n",
       "      <td>1.35</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>零存整取、整存零取、存本取息定期存款(一年)</td>\n",
       "      <td>1.35</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>零存整取、整存零取、存本取息定期存款(五年)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>零存整取、整存零取、存本取息定期存款(三年)</td>\n",
       "      <td>1.55</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>协定存款(定期)</td>\n",
       "      <td>1.15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>定期存款整存整取(一年)</td>\n",
       "      <td>1.75</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>定期存款整存整取(五年)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>定期存款整存整取(三年)</td>\n",
       "      <td>3.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>定期存款整存整取(二年)</td>\n",
       "      <td>2.35</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>定活两便(定期)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>定期存款整存整取(三个月)</td>\n",
       "      <td>1.35</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>定期存款整存整取(半年)</td>\n",
       "      <td>1.55</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>定期存款整存整取(一年)</td>\n",
       "      <td>1.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>零存整取、整存零取、存本取息定期存款(三年)</td>\n",
       "      <td>1.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>定期存款整存整取(半年)</td>\n",
       "      <td>1.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>协定存款(定期)</td>\n",
       "      <td>1.15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>通知存款(一天)</td>\n",
       "      <td>0.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>零存整取、整存零取、存本取息定期存款(五年)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>定期存款整存整取(五年)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>活期存款(不定期)</td>\n",
       "      <td>0.35</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>定期存款整存整取(三年)</td>\n",
       "      <td>2.75</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>定期存款整存整取(三个月)</td>\n",
       "      <td>1.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>定期存款整存整取(二年)</td>\n",
       "      <td>2.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>零存整取、整存零取、存本取息定期存款(一年)</td>\n",
       "      <td>1.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>通知存款(七天)</td>\n",
       "      <td>1.35</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>定活两便(定期)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>546 rows × 3 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "           date            deposit_type   rate\n",
       "545  1989-02-01                协定存款(定期)     --\n",
       "532  1989-02-01                定活两便(定期)     --\n",
       "544  1989-02-01                通知存款(一天)     --\n",
       "543  1989-02-01                通知存款(七天)     --\n",
       "542  1989-02-01  零存整取、整存零取、存本取息定期存款(一年)     --\n",
       "541  1989-02-01  零存整取、整存零取、存本取息定期存款(五年)     --\n",
       "540  1989-02-01  零存整取、整存零取、存本取息定期存款(三年)     --\n",
       "535  1989-02-01           定期存款整存整取(三个月)   7.56\n",
       "538  1989-02-01            定期存款整存整取(一年)  11.34\n",
       "537  1989-02-01            定期存款整存整取(五年)  14.94\n",
       "536  1989-02-01            定期存款整存整取(三年)  13.14\n",
       "534  1989-02-01            定期存款整存整取(二年)  12.20\n",
       "533  1989-02-01            定期存款整存整取(半年)   9.00\n",
       "539  1989-02-01               活期存款(不定期)   2.88\n",
       "525  1990-04-15               活期存款(不定期)   2.88\n",
       "531  1990-04-15                协定存款(定期)     --\n",
       "530  1990-04-15                通知存款(一天)     --\n",
       "529  1990-04-15                通知存款(七天)     --\n",
       "527  1990-04-15  零存整取、整存零取、存本取息定期存款(五年)     --\n",
       "526  1990-04-15  零存整取、整存零取、存本取息定期存款(三年)     --\n",
       "528  1990-04-15  零存整取、整存零取、存本取息定期存款(一年)     --\n",
       "524  1990-04-15            定期存款整存整取(一年)  10.08\n",
       "522  1990-04-15            定期存款整存整取(三年)  11.88\n",
       "521  1990-04-15           定期存款整存整取(三个月)   6.30\n",
       "520  1990-04-15            定期存款整存整取(二年)  11.00\n",
       "519  1990-04-15            定期存款整存整取(半年)   7.74\n",
       "518  1990-04-15                定活两便(定期)     --\n",
       "523  1990-04-15            定期存款整存整取(五年)  13.68\n",
       "510  1990-08-21            定期存款整存整取(一年)   8.64\n",
       "517  1990-08-21                协定存款(定期)     --\n",
       "..          ...                     ...    ...\n",
       "31   2015-06-28           定期存款整存整取(三个月)   1.60\n",
       "30   2015-06-28            定期存款整存整取(二年)   2.60\n",
       "26   2015-08-26                通知存款(一天)   0.80\n",
       "21   2015-08-26               活期存款(不定期)   0.35\n",
       "25   2015-08-26                通知存款(七天)   1.35\n",
       "24   2015-08-26  零存整取、整存零取、存本取息定期存款(一年)   1.35\n",
       "23   2015-08-26  零存整取、整存零取、存本取息定期存款(五年)     --\n",
       "22   2015-08-26  零存整取、整存零取、存本取息定期存款(三年)   1.55\n",
       "27   2015-08-26                协定存款(定期)   1.15\n",
       "20   2015-08-26            定期存款整存整取(一年)   1.75\n",
       "19   2015-08-26            定期存款整存整取(五年)     --\n",
       "18   2015-08-26            定期存款整存整取(三年)   3.00\n",
       "16   2015-08-26            定期存款整存整取(二年)   2.35\n",
       "14   2015-08-26                定活两便(定期)     --\n",
       "17   2015-08-26           定期存款整存整取(三个月)   1.35\n",
       "15   2015-08-26            定期存款整存整取(半年)   1.55\n",
       "6    2015-10-24            定期存款整存整取(一年)   1.50\n",
       "8    2015-10-24  零存整取、整存零取、存本取息定期存款(三年)   1.30\n",
       "1    2015-10-24            定期存款整存整取(半年)   1.30\n",
       "13   2015-10-24                协定存款(定期)   1.15\n",
       "12   2015-10-24                通知存款(一天)   0.80\n",
       "9    2015-10-24  零存整取、整存零取、存本取息定期存款(五年)     --\n",
       "5    2015-10-24            定期存款整存整取(五年)     --\n",
       "7    2015-10-24               活期存款(不定期)   0.35\n",
       "4    2015-10-24            定期存款整存整取(三年)   2.75\n",
       "3    2015-10-24           定期存款整存整取(三个月)   1.10\n",
       "2    2015-10-24            定期存款整存整取(二年)   2.10\n",
       "10   2015-10-24  零存整取、整存零取、存本取息定期存款(一年)   1.10\n",
       "11   2015-10-24                通知存款(七天)   1.35\n",
       "0    2015-10-24                定活两便(定期)     --\n",
       "\n",
       "[546 rows x 3 columns]"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "drate #.head(10)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 贷款利率\n",
    "\n",
    "调用方法：\n",
    "\n",
    "import tushare as ts\n",
    "\n",
    "ts.get_loan_rate()\n",
    "\n",
    "返回值说明：\n",
    "\n",
    "    date :执行日期\n",
    "    loan_type :存款种类\n",
    "    rate:利率（%）\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>date</th>\n",
       "      <th>loan_type</th>\n",
       "      <th>rate</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>短期贷款(六个月以内)</td>\n",
       "      <td>4.35</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>短期贷款(六个月至一年)</td>\n",
       "      <td>4.35</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>中长期贷款(三至五年)</td>\n",
       "      <td>4.75</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>中长期贷款(五年以上)</td>\n",
       "      <td>4.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>中长期贷款(一至三年)</td>\n",
       "      <td>4.75</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>贴现(贴现)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>优惠贷款(扶贫贴息贷款)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>优惠贷款(老少边穷发展经济贷款)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>优惠贷款(民政部门福利工厂贷款)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>优惠贷款(民族贸易及民族用品生产贷款)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>优惠贷款(贫困县办工业贷款)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>个人住房商业贷款(六个月以内)</td>\n",
       "      <td>3.92</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>个人住房商业贷款(六个月至一年)</td>\n",
       "      <td>3.92</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>个人住房商业贷款(三至五年)</td>\n",
       "      <td>4.28</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>个人住房商业贷款(五年以上)</td>\n",
       "      <td>4.41</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>个人住房商业贷款(一至三年)</td>\n",
       "      <td>4.28</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>个人住房公积金贷款(五年以上)</td>\n",
       "      <td>3.25</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>个人住房公积金贷款(五年以下)</td>\n",
       "      <td>2.75</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>2015-09-06</td>\n",
       "      <td>再贴现(再贴现率)</td>\n",
       "      <td>2.25</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>短期贷款(六个月以内)</td>\n",
       "      <td>4.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>短期贷款(六个月至一年)</td>\n",
       "      <td>4.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>中长期贷款(三至五年)</td>\n",
       "      <td>5.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>中长期贷款(五年以上)</td>\n",
       "      <td>5.15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>中长期贷款(一至三年)</td>\n",
       "      <td>5.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>贴现(贴现)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>优惠贷款(扶贫贴息贷款)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>优惠贷款(老少边穷发展经济贷款)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>优惠贷款(民政部门福利工厂贷款)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>优惠贷款(民族贸易及民族用品生产贷款)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>2015-08-26</td>\n",
       "      <td>优惠贷款(贫困县办工业贷款)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>770</th>\n",
       "      <td>1993-05-15</td>\n",
       "      <td>个人住房公积金贷款(五年以上)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>771</th>\n",
       "      <td>1993-05-15</td>\n",
       "      <td>个人住房公积金贷款(五年以下)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>772</th>\n",
       "      <td>1993-05-12</td>\n",
       "      <td>特种贷款(特种贷款利率)</td>\n",
       "      <td>11.25</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>773</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>短期贷款(六个月以内)</td>\n",
       "      <td>8.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>774</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>短期贷款(六个月至一年)</td>\n",
       "      <td>8.64</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>775</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>中长期贷款(三至五年)</td>\n",
       "      <td>9.54</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>776</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>中长期贷款(五年以上)</td>\n",
       "      <td>9.72</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>777</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>中长期贷款(一至三年)</td>\n",
       "      <td>9.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>778</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>贴现(贴现)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>779</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>优惠贷款(扶贫贴息贷款)</td>\n",
       "      <td>2.88</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>780</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>优惠贷款(老少边穷发展经济贷款)</td>\n",
       "      <td>5.76</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>781</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>优惠贷款(民政部门福利工厂贷款)</td>\n",
       "      <td>7.20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>782</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>优惠贷款(民族贸易及民族用品生产贷款)</td>\n",
       "      <td>5.76</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>783</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>优惠贷款(贫困县办工业贷款)</td>\n",
       "      <td>5.76</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>784</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>个人住房商业贷款(六个月以内)</td>\n",
       "      <td>7.29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>785</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>个人住房商业贷款(六个月至一年)</td>\n",
       "      <td>7.78</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>786</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>个人住房商业贷款(三至五年)</td>\n",
       "      <td>8.59</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>787</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>个人住房商业贷款(五年以上)</td>\n",
       "      <td>8.75</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>788</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>个人住房商业贷款(一至三年)</td>\n",
       "      <td>8.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>789</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>个人住房公积金贷款(五年以上)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>790</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>个人住房公积金贷款(五年以下)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>791</th>\n",
       "      <td>1991-04-21</td>\n",
       "      <td>特种贷款(特种贷款利率)</td>\n",
       "      <td>9.72</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>792</th>\n",
       "      <td>1990-08-21</td>\n",
       "      <td>短期贷款(六个月以内)</td>\n",
       "      <td>8.64</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>793</th>\n",
       "      <td>1990-08-21</td>\n",
       "      <td>短期贷款(六个月至一年)</td>\n",
       "      <td>9.36</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>794</th>\n",
       "      <td>1990-08-21</td>\n",
       "      <td>中长期贷款(三至五年)</td>\n",
       "      <td>10.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>795</th>\n",
       "      <td>1990-08-21</td>\n",
       "      <td>中长期贷款(五年以上)</td>\n",
       "      <td>11.16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>796</th>\n",
       "      <td>1990-08-21</td>\n",
       "      <td>中长期贷款(一至三年)</td>\n",
       "      <td>10.08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>797</th>\n",
       "      <td>1990-08-21</td>\n",
       "      <td>贴现(贴现)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>798</th>\n",
       "      <td>1990-08-21</td>\n",
       "      <td>优惠贷款(扶贫贴息贷款)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>799</th>\n",
       "      <td>1990-08-21</td>\n",
       "      <td>优惠贷款(老少边穷发展经济贷款)</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>800 rows × 3 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "           date            loan_type   rate\n",
       "0    2015-10-24          短期贷款(六个月以内)   4.35\n",
       "1    2015-10-24         短期贷款(六个月至一年)   4.35\n",
       "2    2015-10-24          中长期贷款(三至五年)   4.75\n",
       "3    2015-10-24          中长期贷款(五年以上)   4.90\n",
       "4    2015-10-24          中长期贷款(一至三年)   4.75\n",
       "5    2015-10-24               贴现(贴现)     --\n",
       "6    2015-10-24         优惠贷款(扶贫贴息贷款)     --\n",
       "7    2015-10-24     优惠贷款(老少边穷发展经济贷款)     --\n",
       "8    2015-10-24     优惠贷款(民政部门福利工厂贷款)     --\n",
       "9    2015-10-24  优惠贷款(民族贸易及民族用品生产贷款)     --\n",
       "10   2015-10-24       优惠贷款(贫困县办工业贷款)     --\n",
       "11   2015-10-24      个人住房商业贷款(六个月以内)   3.92\n",
       "12   2015-10-24     个人住房商业贷款(六个月至一年)   3.92\n",
       "13   2015-10-24       个人住房商业贷款(三至五年)   4.28\n",
       "14   2015-10-24       个人住房商业贷款(五年以上)   4.41\n",
       "15   2015-10-24       个人住房商业贷款(一至三年)   4.28\n",
       "16   2015-10-24      个人住房公积金贷款(五年以上)   3.25\n",
       "17   2015-10-24      个人住房公积金贷款(五年以下)   2.75\n",
       "18   2015-09-06            再贴现(再贴现率)   2.25\n",
       "19   2015-08-26          短期贷款(六个月以内)   4.60\n",
       "20   2015-08-26         短期贷款(六个月至一年)   4.60\n",
       "21   2015-08-26          中长期贷款(三至五年)   5.00\n",
       "22   2015-08-26          中长期贷款(五年以上)   5.15\n",
       "23   2015-08-26          中长期贷款(一至三年)   5.00\n",
       "24   2015-08-26               贴现(贴现)     --\n",
       "25   2015-08-26         优惠贷款(扶贫贴息贷款)     --\n",
       "26   2015-08-26     优惠贷款(老少边穷发展经济贷款)     --\n",
       "27   2015-08-26     优惠贷款(民政部门福利工厂贷款)     --\n",
       "28   2015-08-26  优惠贷款(民族贸易及民族用品生产贷款)     --\n",
       "29   2015-08-26       优惠贷款(贫困县办工业贷款)     --\n",
       "..          ...                  ...    ...\n",
       "770  1993-05-15      个人住房公积金贷款(五年以上)     --\n",
       "771  1993-05-15      个人住房公积金贷款(五年以下)     --\n",
       "772  1993-05-12         特种贷款(特种贷款利率)  11.25\n",
       "773  1991-04-21          短期贷款(六个月以内)   8.10\n",
       "774  1991-04-21         短期贷款(六个月至一年)   8.64\n",
       "775  1991-04-21          中长期贷款(三至五年)   9.54\n",
       "776  1991-04-21          中长期贷款(五年以上)   9.72\n",
       "777  1991-04-21          中长期贷款(一至三年)   9.00\n",
       "778  1991-04-21               贴现(贴现)     --\n",
       "779  1991-04-21         优惠贷款(扶贫贴息贷款)   2.88\n",
       "780  1991-04-21     优惠贷款(老少边穷发展经济贷款)   5.76\n",
       "781  1991-04-21     优惠贷款(民政部门福利工厂贷款)   7.20\n",
       "782  1991-04-21  优惠贷款(民族贸易及民族用品生产贷款)   5.76\n",
       "783  1991-04-21       优惠贷款(贫困县办工业贷款)   5.76\n",
       "784  1991-04-21      个人住房商业贷款(六个月以内)   7.29\n",
       "785  1991-04-21     个人住房商业贷款(六个月至一年)   7.78\n",
       "786  1991-04-21       个人住房商业贷款(三至五年)   8.59\n",
       "787  1991-04-21       个人住房商业贷款(五年以上)   8.75\n",
       "788  1991-04-21       个人住房商业贷款(一至三年)   8.10\n",
       "789  1991-04-21      个人住房公积金贷款(五年以上)     --\n",
       "790  1991-04-21      个人住房公积金贷款(五年以下)     --\n",
       "791  1991-04-21         特种贷款(特种贷款利率)   9.72\n",
       "792  1990-08-21          短期贷款(六个月以内)   8.64\n",
       "793  1990-08-21         短期贷款(六个月至一年)   9.36\n",
       "794  1990-08-21          中长期贷款(三至五年)  10.80\n",
       "795  1990-08-21          中长期贷款(五年以上)  11.16\n",
       "796  1990-08-21          中长期贷款(一至三年)  10.08\n",
       "797  1990-08-21               贴现(贴现)     --\n",
       "798  1990-08-21         优惠贷款(扶贫贴息贷款)     --\n",
       "799  1990-08-21     优惠贷款(老少边穷发展经济贷款)     --\n",
       "\n",
       "[800 rows x 3 columns]"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import tushare as ts\n",
    "\n",
    "ts.get_loan_rate()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 存款准备金率\n",
    "\n",
    "调用方法：\n",
    "\n",
    "import tushare as ts\n",
    "\n",
    "ts.get_rrr()\n",
    "\n",
    "返回值说明：\n",
    "\n",
    "    date :变动日期\n",
    "    before :调整前存款准备金率(%)\n",
    "    now:调整后存款准备金率(%)\n",
    "    changed:调整幅度(%)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>date</th>\n",
       "      <th>before</th>\n",
       "      <th>now</th>\n",
       "      <th>changed</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2018-04-25</td>\n",
       "      <td>16.50</td>\n",
       "      <td>15.50</td>\n",
       "      <td>-1.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2016-03-01</td>\n",
       "      <td>17.00</td>\n",
       "      <td>16.50</td>\n",
       "      <td>-0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2015-10-24</td>\n",
       "      <td>17.50</td>\n",
       "      <td>17.00</td>\n",
       "      <td>-0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2015-09-06</td>\n",
       "      <td>18.00</td>\n",
       "      <td>17.50</td>\n",
       "      <td>-0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2015-06-28</td>\n",
       "      <td>18.50</td>\n",
       "      <td>18.00</td>\n",
       "      <td>-0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2015-04-20</td>\n",
       "      <td>19.50</td>\n",
       "      <td>18.50</td>\n",
       "      <td>-1.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2015-02-05</td>\n",
       "      <td>20.00</td>\n",
       "      <td>19.50</td>\n",
       "      <td>-0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2012-05-18</td>\n",
       "      <td>20.50</td>\n",
       "      <td>20.00</td>\n",
       "      <td>-0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2012-02-24</td>\n",
       "      <td>21.00</td>\n",
       "      <td>20.50</td>\n",
       "      <td>-0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2011-12-05</td>\n",
       "      <td>21.50</td>\n",
       "      <td>21.00</td>\n",
       "      <td>-0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2011-06-20</td>\n",
       "      <td>21.00</td>\n",
       "      <td>21.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2011-05-18</td>\n",
       "      <td>20.50</td>\n",
       "      <td>21.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2011-04-21</td>\n",
       "      <td>20.00</td>\n",
       "      <td>20.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2011-03-25</td>\n",
       "      <td>19.50</td>\n",
       "      <td>20.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>2011-02-24</td>\n",
       "      <td>19.00</td>\n",
       "      <td>19.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2011-01-20</td>\n",
       "      <td>18.50</td>\n",
       "      <td>19.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2010-12-20</td>\n",
       "      <td>18.00</td>\n",
       "      <td>18.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2010-11-29</td>\n",
       "      <td>17.50</td>\n",
       "      <td>18.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>2010-11-16</td>\n",
       "      <td>17.00</td>\n",
       "      <td>17.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>2010-05-10</td>\n",
       "      <td>16.50</td>\n",
       "      <td>17.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>2010-02-25</td>\n",
       "      <td>16.00</td>\n",
       "      <td>16.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>2010-01-18</td>\n",
       "      <td>15.50</td>\n",
       "      <td>16.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>2008-12-25</td>\n",
       "      <td>16.00</td>\n",
       "      <td>15.50</td>\n",
       "      <td>-0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>2008-12-05</td>\n",
       "      <td>17.00</td>\n",
       "      <td>16.00</td>\n",
       "      <td>-1.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>2008-10-15</td>\n",
       "      <td>17.50</td>\n",
       "      <td>17.00</td>\n",
       "      <td>-0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>2008-09-25</td>\n",
       "      <td>17.50</td>\n",
       "      <td>17.50</td>\n",
       "      <td>0.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>2008-06-25</td>\n",
       "      <td>17.00</td>\n",
       "      <td>17.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>2008-06-15</td>\n",
       "      <td>16.50</td>\n",
       "      <td>17.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>2008-05-20</td>\n",
       "      <td>16.00</td>\n",
       "      <td>16.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>2008-04-25</td>\n",
       "      <td>15.50</td>\n",
       "      <td>16.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>2008-03-25</td>\n",
       "      <td>15.00</td>\n",
       "      <td>15.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>2008-01-25</td>\n",
       "      <td>14.50</td>\n",
       "      <td>15.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>2007-12-25</td>\n",
       "      <td>13.50</td>\n",
       "      <td>14.50</td>\n",
       "      <td>1.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>2007-11-26</td>\n",
       "      <td>13.00</td>\n",
       "      <td>13.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>2007-10-25</td>\n",
       "      <td>12.50</td>\n",
       "      <td>13.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>2007-09-25</td>\n",
       "      <td>12.00</td>\n",
       "      <td>12.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>2007-08-15</td>\n",
       "      <td>11.50</td>\n",
       "      <td>12.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>2007-06-05</td>\n",
       "      <td>11.00</td>\n",
       "      <td>11.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>2007-05-15</td>\n",
       "      <td>10.50</td>\n",
       "      <td>11.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>2007-04-16</td>\n",
       "      <td>10.00</td>\n",
       "      <td>10.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>2007-02-25</td>\n",
       "      <td>9.50</td>\n",
       "      <td>10.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>2007-01-15</td>\n",
       "      <td>9.00</td>\n",
       "      <td>9.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>2006-11-15</td>\n",
       "      <td>8.50</td>\n",
       "      <td>9.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>2006-08-15</td>\n",
       "      <td>8.00</td>\n",
       "      <td>8.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>2006-07-05</td>\n",
       "      <td>7.50</td>\n",
       "      <td>8.00</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>2004-04-25</td>\n",
       "      <td>7.00</td>\n",
       "      <td>7.50</td>\n",
       "      <td>0.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>2003-09-21</td>\n",
       "      <td>6.00</td>\n",
       "      <td>7.00</td>\n",
       "      <td>1.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>1999-11-21</td>\n",
       "      <td>8.00</td>\n",
       "      <td>6.00</td>\n",
       "      <td>-2.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>1998-03-21</td>\n",
       "      <td>13.00</td>\n",
       "      <td>8.00</td>\n",
       "      <td>-5.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>1988-09-30</td>\n",
       "      <td>12.00</td>\n",
       "      <td>13.00</td>\n",
       "      <td>1.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50</th>\n",
       "      <td>1987-12-31</td>\n",
       "      <td>10.00</td>\n",
       "      <td>12.00</td>\n",
       "      <td>2.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51</th>\n",
       "      <td>1985-12-31</td>\n",
       "      <td>--</td>\n",
       "      <td>10.00</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "          date before    now changed\n",
       "0   2018-04-25  16.50  15.50   -1.00\n",
       "1   2016-03-01  17.00  16.50   -0.50\n",
       "2   2015-10-24  17.50  17.00   -0.50\n",
       "3   2015-09-06  18.00  17.50   -0.50\n",
       "4   2015-06-28  18.50  18.00   -0.50\n",
       "5   2015-04-20  19.50  18.50   -1.00\n",
       "6   2015-02-05  20.00  19.50   -0.50\n",
       "7   2012-05-18  20.50  20.00   -0.50\n",
       "8   2012-02-24  21.00  20.50   -0.50\n",
       "9   2011-12-05  21.50  21.00   -0.50\n",
       "10  2011-06-20  21.00  21.50    0.50\n",
       "11  2011-05-18  20.50  21.00    0.50\n",
       "12  2011-04-21  20.00  20.50    0.50\n",
       "13  2011-03-25  19.50  20.00    0.50\n",
       "14  2011-02-24  19.00  19.50    0.50\n",
       "15  2011-01-20  18.50  19.00    0.50\n",
       "16  2010-12-20  18.00  18.50    0.50\n",
       "17  2010-11-29  17.50  18.00    0.50\n",
       "18  2010-11-16  17.00  17.50    0.50\n",
       "19  2010-05-10  16.50  17.00    0.50\n",
       "20  2010-02-25  16.00  16.50    0.50\n",
       "21  2010-01-18  15.50  16.00    0.50\n",
       "22  2008-12-25  16.00  15.50   -0.50\n",
       "23  2008-12-05  17.00  16.00   -1.00\n",
       "24  2008-10-15  17.50  17.00   -0.50\n",
       "25  2008-09-25  17.50  17.50    0.00\n",
       "26  2008-06-25  17.00  17.50    0.50\n",
       "27  2008-06-15  16.50  17.00    0.50\n",
       "28  2008-05-20  16.00  16.50    0.50\n",
       "29  2008-04-25  15.50  16.00    0.50\n",
       "30  2008-03-25  15.00  15.50    0.50\n",
       "31  2008-01-25  14.50  15.00    0.50\n",
       "32  2007-12-25  13.50  14.50    1.00\n",
       "33  2007-11-26  13.00  13.50    0.50\n",
       "34  2007-10-25  12.50  13.00    0.50\n",
       "35  2007-09-25  12.00  12.50    0.50\n",
       "36  2007-08-15  11.50  12.00    0.50\n",
       "37  2007-06-05  11.00  11.50    0.50\n",
       "38  2007-05-15  10.50  11.00    0.50\n",
       "39  2007-04-16  10.00  10.50    0.50\n",
       "40  2007-02-25   9.50  10.00    0.50\n",
       "41  2007-01-15   9.00   9.50    0.50\n",
       "42  2006-11-15   8.50   9.00    0.50\n",
       "43  2006-08-15   8.00   8.50    0.50\n",
       "44  2006-07-05   7.50   8.00    0.50\n",
       "45  2004-04-25   7.00   7.50    0.50\n",
       "46  2003-09-21   6.00   7.00    1.00\n",
       "47  1999-11-21   8.00   6.00   -2.00\n",
       "48  1998-03-21  13.00   8.00   -5.00\n",
       "49  1988-09-30  12.00  13.00    1.00\n",
       "50  1987-12-31  10.00  12.00    2.00\n",
       "51  1985-12-31     --  10.00      --"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import tushare as ts\n",
    "\n",
    "ts.get_rrr()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 货币供应量\n",
    "\n",
    "调用方法：\n",
    "\n",
    "import tushare as ts\n",
    "\n",
    "ts.get_money_supply()\n",
    "\n",
    "返回值说明：\n",
    "\n",
    "    month :统计时间\n",
    "    m2 :货币和准货币（广义货币M2）(亿元)\n",
    "    m2_yoy:货币和准货币（广义货币M2）同比增长(%)\n",
    "    m1:货币(狭义货币M1)(亿元)\n",
    "    m1_yoy:货币(狭义货币M1)同比增长(%)\n",
    "    m0:流通中现金(M0)(亿元)\n",
    "    m0_yoy:流通中现金(M0)同比增长(%)\n",
    "    cd:活期存款(亿元)\n",
    "    cd_yoy:活期存款同比增长(%)\n",
    "    qm:准货币(亿元)\n",
    "    qm_yoy:准货币同比增长(%)\n",
    "    ftd:定期存款(亿元)\n",
    "    ftd_yoy:定期存款同比增长(%)\n",
    "    sd:储蓄存款(亿元)\n",
    "    sd_yoy:储蓄存款同比增长(%)\n",
    "    rests:其他存款(亿元)\n",
    "    rests_yoy:其他存款同比增长(%)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>month</th>\n",
       "      <th>m2</th>\n",
       "      <th>m2_yoy</th>\n",
       "      <th>m1</th>\n",
       "      <th>m1_yoy</th>\n",
       "      <th>m0</th>\n",
       "      <th>m0_yoy</th>\n",
       "      <th>cd</th>\n",
       "      <th>cd_yoy</th>\n",
       "      <th>qm</th>\n",
       "      <th>qm_yoy</th>\n",
       "      <th>ftd</th>\n",
       "      <th>ftd_yoy</th>\n",
       "      <th>sd</th>\n",
       "      <th>sd_yoy</th>\n",
       "      <th>rests</th>\n",
       "      <th>rests_yoy</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2018.6</td>\n",
       "      <td>1770178.37</td>\n",
       "      <td>8.30</td>\n",
       "      <td>543944.71</td>\n",
       "      <td>6.00</td>\n",
       "      <td>69589.33</td>\n",
       "      <td>3.60</td>\n",
       "      <td>474355.38</td>\n",
       "      <td>--</td>\n",
       "      <td>1226233.66</td>\n",
       "      <td>--</td>\n",
       "      <td>334425.29</td>\n",
       "      <td>--</td>\n",
       "      <td>692440.77</td>\n",
       "      <td>--</td>\n",
       "      <td>199367.60</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2018.5</td>\n",
       "      <td>1743063.79</td>\n",
       "      <td>8.30</td>\n",
       "      <td>526276.72</td>\n",
       "      <td>6.00</td>\n",
       "      <td>69774.81</td>\n",
       "      <td>3.60</td>\n",
       "      <td>456501.91</td>\n",
       "      <td>--</td>\n",
       "      <td>1216787.08</td>\n",
       "      <td>--</td>\n",
       "      <td>336063.23</td>\n",
       "      <td>--</td>\n",
       "      <td>681333.90</td>\n",
       "      <td>--</td>\n",
       "      <td>199389.95</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2018.4</td>\n",
       "      <td>1737683.73</td>\n",
       "      <td>8.30</td>\n",
       "      <td>525447.77</td>\n",
       "      <td>7.20</td>\n",
       "      <td>71476.46</td>\n",
       "      <td>4.50</td>\n",
       "      <td>453971.31</td>\n",
       "      <td>--</td>\n",
       "      <td>1212235.96</td>\n",
       "      <td>--</td>\n",
       "      <td>335348.35</td>\n",
       "      <td>--</td>\n",
       "      <td>679185.94</td>\n",
       "      <td>--</td>\n",
       "      <td>197701.67</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2018.3</td>\n",
       "      <td>1739859.48</td>\n",
       "      <td>8.20</td>\n",
       "      <td>523540.07</td>\n",
       "      <td>7.10</td>\n",
       "      <td>72692.63</td>\n",
       "      <td>6.00</td>\n",
       "      <td>450847.45</td>\n",
       "      <td>--</td>\n",
       "      <td>1216319.40</td>\n",
       "      <td>--</td>\n",
       "      <td>332605.89</td>\n",
       "      <td>--</td>\n",
       "      <td>692563.69</td>\n",
       "      <td>--</td>\n",
       "      <td>191149.82</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2018.2</td>\n",
       "      <td>1729070.12</td>\n",
       "      <td>8.80</td>\n",
       "      <td>517035.99</td>\n",
       "      <td>8.50</td>\n",
       "      <td>81424.24</td>\n",
       "      <td>13.50</td>\n",
       "      <td>435611.75</td>\n",
       "      <td>--</td>\n",
       "      <td>1212034.13</td>\n",
       "      <td>--</td>\n",
       "      <td>330531.73</td>\n",
       "      <td>--</td>\n",
       "      <td>687076.39</td>\n",
       "      <td>--</td>\n",
       "      <td>194426.00</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2018.1</td>\n",
       "      <td>1720814.46</td>\n",
       "      <td>8.62</td>\n",
       "      <td>543247.13</td>\n",
       "      <td>14.97</td>\n",
       "      <td>74636.29</td>\n",
       "      <td>-13.81</td>\n",
       "      <td>468610.84</td>\n",
       "      <td>--</td>\n",
       "      <td>1177567.33</td>\n",
       "      <td>--</td>\n",
       "      <td>328169.80</td>\n",
       "      <td>--</td>\n",
       "      <td>658424.25</td>\n",
       "      <td>--</td>\n",
       "      <td>190973.27</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2017.12</td>\n",
       "      <td>1676768.54</td>\n",
       "      <td>8.10</td>\n",
       "      <td>543790.15</td>\n",
       "      <td>11.80</td>\n",
       "      <td>70645.60</td>\n",
       "      <td>3.40</td>\n",
       "      <td>473144.55</td>\n",
       "      <td>--</td>\n",
       "      <td>1132978.39</td>\n",
       "      <td>--</td>\n",
       "      <td>320196.23</td>\n",
       "      <td>--</td>\n",
       "      <td>649341.50</td>\n",
       "      <td>--</td>\n",
       "      <td>163440.66</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2017.11</td>\n",
       "      <td>1670013.40</td>\n",
       "      <td>9.10</td>\n",
       "      <td>535565.05</td>\n",
       "      <td>12.70</td>\n",
       "      <td>68623.16</td>\n",
       "      <td>5.70</td>\n",
       "      <td>466941.89</td>\n",
       "      <td>--</td>\n",
       "      <td>1134448.35</td>\n",
       "      <td>--</td>\n",
       "      <td>320651.87</td>\n",
       "      <td>--</td>\n",
       "      <td>641619.60</td>\n",
       "      <td>--</td>\n",
       "      <td>172176.88</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2017.10</td>\n",
       "      <td>1653434.16</td>\n",
       "      <td>8.90</td>\n",
       "      <td>525977.19</td>\n",
       "      <td>13.00</td>\n",
       "      <td>68230.69</td>\n",
       "      <td>6.30</td>\n",
       "      <td>457746.50</td>\n",
       "      <td>--</td>\n",
       "      <td>1127456.97</td>\n",
       "      <td>--</td>\n",
       "      <td>319740.97</td>\n",
       "      <td>--</td>\n",
       "      <td>640250.93</td>\n",
       "      <td>--</td>\n",
       "      <td>167465.07</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2017.9</td>\n",
       "      <td>1655662.07</td>\n",
       "      <td>9.00</td>\n",
       "      <td>517863.04</td>\n",
       "      <td>14.00</td>\n",
       "      <td>69748.54</td>\n",
       "      <td>7.20</td>\n",
       "      <td>448114.50</td>\n",
       "      <td>--</td>\n",
       "      <td>1137799.03</td>\n",
       "      <td>--</td>\n",
       "      <td>326614.31</td>\n",
       "      <td>--</td>\n",
       "      <td>648349.70</td>\n",
       "      <td>--</td>\n",
       "      <td>162835.01</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2017.8</td>\n",
       "      <td>1645156.60</td>\n",
       "      <td>8.60</td>\n",
       "      <td>518113.93</td>\n",
       "      <td>14.00</td>\n",
       "      <td>67550.99</td>\n",
       "      <td>6.50</td>\n",
       "      <td>450562.94</td>\n",
       "      <td>--</td>\n",
       "      <td>1127042.67</td>\n",
       "      <td>--</td>\n",
       "      <td>317888.57</td>\n",
       "      <td>--</td>\n",
       "      <td>637886.94</td>\n",
       "      <td>--</td>\n",
       "      <td>171267.16</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2017.7</td>\n",
       "      <td>1628996.63</td>\n",
       "      <td>8.90</td>\n",
       "      <td>510484.58</td>\n",
       "      <td>15.30</td>\n",
       "      <td>67129.04</td>\n",
       "      <td>6.10</td>\n",
       "      <td>443355.54</td>\n",
       "      <td>--</td>\n",
       "      <td>1118512.05</td>\n",
       "      <td>--</td>\n",
       "      <td>314699.58</td>\n",
       "      <td>--</td>\n",
       "      <td>635229.77</td>\n",
       "      <td>--</td>\n",
       "      <td>168582.71</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2017.6</td>\n",
       "      <td>1631282.53</td>\n",
       "      <td>9.10</td>\n",
       "      <td>510228.17</td>\n",
       "      <td>15.00</td>\n",
       "      <td>66977.68</td>\n",
       "      <td>6.60</td>\n",
       "      <td>443250.48</td>\n",
       "      <td>--</td>\n",
       "      <td>1121054.36</td>\n",
       "      <td>--</td>\n",
       "      <td>317003.07</td>\n",
       "      <td>--</td>\n",
       "      <td>642931.90</td>\n",
       "      <td>--</td>\n",
       "      <td>161119.39</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2017.5</td>\n",
       "      <td>1601360.42</td>\n",
       "      <td>9.10</td>\n",
       "      <td>496389.78</td>\n",
       "      <td>17.00</td>\n",
       "      <td>67333.21</td>\n",
       "      <td>7.30</td>\n",
       "      <td>429056.58</td>\n",
       "      <td>--</td>\n",
       "      <td>1104970.63</td>\n",
       "      <td>--</td>\n",
       "      <td>314929.83</td>\n",
       "      <td>--</td>\n",
       "      <td>632225.70</td>\n",
       "      <td>--</td>\n",
       "      <td>157815.10</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>2017.4</td>\n",
       "      <td>1596331.87</td>\n",
       "      <td>9.80</td>\n",
       "      <td>490180.42</td>\n",
       "      <td>18.54</td>\n",
       "      <td>68392.60</td>\n",
       "      <td>6.19</td>\n",
       "      <td>421787.82</td>\n",
       "      <td>--</td>\n",
       "      <td>1106151.45</td>\n",
       "      <td>--</td>\n",
       "      <td>318092.78</td>\n",
       "      <td>--</td>\n",
       "      <td>630992.53</td>\n",
       "      <td>--</td>\n",
       "      <td>157066.14</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2017.3</td>\n",
       "      <td>1599609.57</td>\n",
       "      <td>10.10</td>\n",
       "      <td>488770.09</td>\n",
       "      <td>18.80</td>\n",
       "      <td>68605.05</td>\n",
       "      <td>6.10</td>\n",
       "      <td>420165.04</td>\n",
       "      <td>--</td>\n",
       "      <td>1110839.48</td>\n",
       "      <td>--</td>\n",
       "      <td>317183.42</td>\n",
       "      <td>--</td>\n",
       "      <td>643278.44</td>\n",
       "      <td>--</td>\n",
       "      <td>150377.62</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2017.2</td>\n",
       "      <td>1582913.07</td>\n",
       "      <td>10.40</td>\n",
       "      <td>476527.60</td>\n",
       "      <td>21.40</td>\n",
       "      <td>71727.69</td>\n",
       "      <td>3.30</td>\n",
       "      <td>404799.91</td>\n",
       "      <td>--</td>\n",
       "      <td>1106385.48</td>\n",
       "      <td>--</td>\n",
       "      <td>311667.58</td>\n",
       "      <td>--</td>\n",
       "      <td>635880.32</td>\n",
       "      <td>--</td>\n",
       "      <td>158837.59</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2017.1</td>\n",
       "      <td>1575945.59</td>\n",
       "      <td>10.70</td>\n",
       "      <td>472526.45</td>\n",
       "      <td>14.50</td>\n",
       "      <td>86598.61</td>\n",
       "      <td>19.40</td>\n",
       "      <td>385927.84</td>\n",
       "      <td>--</td>\n",
       "      <td>1103419.14</td>\n",
       "      <td>--</td>\n",
       "      <td>317957.26</td>\n",
       "      <td>--</td>\n",
       "      <td>634745.73</td>\n",
       "      <td>--</td>\n",
       "      <td>150716.15</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>2016.12</td>\n",
       "      <td>1550066.67</td>\n",
       "      <td>11.33</td>\n",
       "      <td>486557.24</td>\n",
       "      <td>21.35</td>\n",
       "      <td>68303.87</td>\n",
       "      <td>8.05</td>\n",
       "      <td>418253.37</td>\n",
       "      <td>--</td>\n",
       "      <td>1063509.43</td>\n",
       "      <td>--</td>\n",
       "      <td>307989.61</td>\n",
       "      <td>--</td>\n",
       "      <td>603504.20</td>\n",
       "      <td>--</td>\n",
       "      <td>152015.62</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>2016.11</td>\n",
       "      <td>1530432.06</td>\n",
       "      <td>11.39</td>\n",
       "      <td>475405.54</td>\n",
       "      <td>22.65</td>\n",
       "      <td>64903.50</td>\n",
       "      <td>7.58</td>\n",
       "      <td>410502.04</td>\n",
       "      <td>--</td>\n",
       "      <td>1055026.52</td>\n",
       "      <td>--</td>\n",
       "      <td>309067.58</td>\n",
       "      <td>--</td>\n",
       "      <td>597374.12</td>\n",
       "      <td>--</td>\n",
       "      <td>148584.82</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>2016.10</td>\n",
       "      <td>1519485.40</td>\n",
       "      <td>11.64</td>\n",
       "      <td>465446.65</td>\n",
       "      <td>23.85</td>\n",
       "      <td>64214.93</td>\n",
       "      <td>7.20</td>\n",
       "      <td>401231.71</td>\n",
       "      <td>--</td>\n",
       "      <td>1054038.76</td>\n",
       "      <td>--</td>\n",
       "      <td>307895.68</td>\n",
       "      <td>--</td>\n",
       "      <td>594169.86</td>\n",
       "      <td>--</td>\n",
       "      <td>151973.22</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>2016.9</td>\n",
       "      <td>1516360.50</td>\n",
       "      <td>11.50</td>\n",
       "      <td>454340.25</td>\n",
       "      <td>24.70</td>\n",
       "      <td>65068.62</td>\n",
       "      <td>6.60</td>\n",
       "      <td>389271.63</td>\n",
       "      <td>--</td>\n",
       "      <td>1062020.26</td>\n",
       "      <td>--</td>\n",
       "      <td>315077.15</td>\n",
       "      <td>--</td>\n",
       "      <td>598880.53</td>\n",
       "      <td>--</td>\n",
       "      <td>148062.57</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>2016.8</td>\n",
       "      <td>1510982.91</td>\n",
       "      <td>11.35</td>\n",
       "      <td>454543.60</td>\n",
       "      <td>25.29</td>\n",
       "      <td>63454.70</td>\n",
       "      <td>7.44</td>\n",
       "      <td>391088.90</td>\n",
       "      <td>--</td>\n",
       "      <td>1056439.31</td>\n",
       "      <td>--</td>\n",
       "      <td>307806.49</td>\n",
       "      <td>--</td>\n",
       "      <td>589372.14</td>\n",
       "      <td>--</td>\n",
       "      <td>159260.68</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>2016.7</td>\n",
       "      <td>1491558.72</td>\n",
       "      <td>10.22</td>\n",
       "      <td>442934.43</td>\n",
       "      <td>25.43</td>\n",
       "      <td>63276.01</td>\n",
       "      <td>7.23</td>\n",
       "      <td>379658.42</td>\n",
       "      <td>--</td>\n",
       "      <td>1048624.29</td>\n",
       "      <td>--</td>\n",
       "      <td>301688.23</td>\n",
       "      <td>--</td>\n",
       "      <td>585217.87</td>\n",
       "      <td>--</td>\n",
       "      <td>161718.19</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>2016.6</td>\n",
       "      <td>1490491.83</td>\n",
       "      <td>11.78</td>\n",
       "      <td>443643.70</td>\n",
       "      <td>24.59</td>\n",
       "      <td>62818.89</td>\n",
       "      <td>7.19</td>\n",
       "      <td>380824.81</td>\n",
       "      <td>--</td>\n",
       "      <td>1046848.13</td>\n",
       "      <td>--</td>\n",
       "      <td>301673.99</td>\n",
       "      <td>--</td>\n",
       "      <td>587548.66</td>\n",
       "      <td>--</td>\n",
       "      <td>157625.48</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>2016.5</td>\n",
       "      <td>1461695.11</td>\n",
       "      <td>11.81</td>\n",
       "      <td>424250.70</td>\n",
       "      <td>23.66</td>\n",
       "      <td>62780.71</td>\n",
       "      <td>6.27</td>\n",
       "      <td>361469.99</td>\n",
       "      <td>--</td>\n",
       "      <td>1037444.41</td>\n",
       "      <td>--</td>\n",
       "      <td>302474.13</td>\n",
       "      <td>--</td>\n",
       "      <td>577996.21</td>\n",
       "      <td>--</td>\n",
       "      <td>156974.07</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>2016.4</td>\n",
       "      <td>1445209.59</td>\n",
       "      <td>12.84</td>\n",
       "      <td>413504.84</td>\n",
       "      <td>22.92</td>\n",
       "      <td>64403.17</td>\n",
       "      <td>5.97</td>\n",
       "      <td>349101.67</td>\n",
       "      <td>--</td>\n",
       "      <td>1031704.75</td>\n",
       "      <td>--</td>\n",
       "      <td>303423.88</td>\n",
       "      <td>--</td>\n",
       "      <td>577489.72</td>\n",
       "      <td>--</td>\n",
       "      <td>150791.14</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>2016.3</td>\n",
       "      <td>1446198.03</td>\n",
       "      <td>13.40</td>\n",
       "      <td>411581.31</td>\n",
       "      <td>22.05</td>\n",
       "      <td>64651.21</td>\n",
       "      <td>4.36</td>\n",
       "      <td>346930.10</td>\n",
       "      <td>--</td>\n",
       "      <td>1034616.71</td>\n",
       "      <td>--</td>\n",
       "      <td>300623.37</td>\n",
       "      <td>--</td>\n",
       "      <td>586855.68</td>\n",
       "      <td>--</td>\n",
       "      <td>147137.66</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>2016.2</td>\n",
       "      <td>1424618.68</td>\n",
       "      <td>13.30</td>\n",
       "      <td>392504.70</td>\n",
       "      <td>17.36</td>\n",
       "      <td>69421.50</td>\n",
       "      <td>-4.77</td>\n",
       "      <td>323083.20</td>\n",
       "      <td>--</td>\n",
       "      <td>1032113.98</td>\n",
       "      <td>--</td>\n",
       "      <td>294042.64</td>\n",
       "      <td>--</td>\n",
       "      <td>581012.06</td>\n",
       "      <td>--</td>\n",
       "      <td>157059.29</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>2016.1</td>\n",
       "      <td>1416319.55</td>\n",
       "      <td>13.97</td>\n",
       "      <td>412685.64</td>\n",
       "      <td>18.55</td>\n",
       "      <td>72526.51</td>\n",
       "      <td>15.05</td>\n",
       "      <td>340159.13</td>\n",
       "      <td>--</td>\n",
       "      <td>1003633.91</td>\n",
       "      <td>--</td>\n",
       "      <td>294289.20</td>\n",
       "      <td>--</td>\n",
       "      <td>560967.64</td>\n",
       "      <td>--</td>\n",
       "      <td>148377.07</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>456</th>\n",
       "      <td>1980.6</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>983.04</td>\n",
       "      <td>20.67</td>\n",
       "      <td>243.30</td>\n",
       "      <td>16.57</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>457</th>\n",
       "      <td>1980.5</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>957.20</td>\n",
       "      <td>18.30</td>\n",
       "      <td>243.13</td>\n",
       "      <td>16.33</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>458</th>\n",
       "      <td>1980.4</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>954.89</td>\n",
       "      <td>14.35</td>\n",
       "      <td>254.07</td>\n",
       "      <td>16.91</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>459</th>\n",
       "      <td>1980.3</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>963.91</td>\n",
       "      <td>15.68</td>\n",
       "      <td>261.49</td>\n",
       "      <td>19.39</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>460</th>\n",
       "      <td>1980.2</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>975.80</td>\n",
       "      <td>18.57</td>\n",
       "      <td>279.18</td>\n",
       "      <td>22.25</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>461</th>\n",
       "      <td>1980.1</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>1031.89</td>\n",
       "      <td>21.20</td>\n",
       "      <td>300.41</td>\n",
       "      <td>16.79</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>462</th>\n",
       "      <td>1979.12</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>1069.36</td>\n",
       "      <td>24.42</td>\n",
       "      <td>267.71</td>\n",
       "      <td>26.26</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>463</th>\n",
       "      <td>1979.11</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>955.66</td>\n",
       "      <td>18.24</td>\n",
       "      <td>235.13</td>\n",
       "      <td>23.40</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>464</th>\n",
       "      <td>1979.10</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>895.32</td>\n",
       "      <td>14.99</td>\n",
       "      <td>220.90</td>\n",
       "      <td>19.25</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>465</th>\n",
       "      <td>1979.9</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>871.19</td>\n",
       "      <td>14.11</td>\n",
       "      <td>225.57</td>\n",
       "      <td>19.81</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>466</th>\n",
       "      <td>1979.8</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>849.58</td>\n",
       "      <td>12.38</td>\n",
       "      <td>215.35</td>\n",
       "      <td>18.25</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>467</th>\n",
       "      <td>1979.7</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>831.28</td>\n",
       "      <td>11.37</td>\n",
       "      <td>212.96</td>\n",
       "      <td>17.64</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>468</th>\n",
       "      <td>1979.6</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>814.67</td>\n",
       "      <td>9.34</td>\n",
       "      <td>208.71</td>\n",
       "      <td>16.95</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>469</th>\n",
       "      <td>1979.5</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>809.14</td>\n",
       "      <td>6.76</td>\n",
       "      <td>209.00</td>\n",
       "      <td>14.73</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>470</th>\n",
       "      <td>1979.4</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>835.08</td>\n",
       "      <td>3.33</td>\n",
       "      <td>217.33</td>\n",
       "      <td>12.82</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>471</th>\n",
       "      <td>1979.3</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>833.24</td>\n",
       "      <td>0.65</td>\n",
       "      <td>219.02</td>\n",
       "      <td>12.40</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>472</th>\n",
       "      <td>1979.2</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>823.00</td>\n",
       "      <td>-1.24</td>\n",
       "      <td>228.36</td>\n",
       "      <td>10.91</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>473</th>\n",
       "      <td>1979.1</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>851.39</td>\n",
       "      <td>-2.20</td>\n",
       "      <td>257.22</td>\n",
       "      <td>12.03</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>474</th>\n",
       "      <td>1978.12</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>859.45</td>\n",
       "      <td>--</td>\n",
       "      <td>212.03</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>475</th>\n",
       "      <td>1978.11</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>808.27</td>\n",
       "      <td>--</td>\n",
       "      <td>190.54</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>476</th>\n",
       "      <td>1978.10</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>778.64</td>\n",
       "      <td>--</td>\n",
       "      <td>185.24</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>477</th>\n",
       "      <td>1978.9</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>763.47</td>\n",
       "      <td>--</td>\n",
       "      <td>188.27</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>478</th>\n",
       "      <td>1978.8</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>755.99</td>\n",
       "      <td>--</td>\n",
       "      <td>182.12</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>479</th>\n",
       "      <td>1978.7</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>746.43</td>\n",
       "      <td>--</td>\n",
       "      <td>181.02</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>480</th>\n",
       "      <td>1978.6</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>745.08</td>\n",
       "      <td>--</td>\n",
       "      <td>178.46</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>481</th>\n",
       "      <td>1978.5</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>757.93</td>\n",
       "      <td>--</td>\n",
       "      <td>182.17</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>482</th>\n",
       "      <td>1978.4</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>808.17</td>\n",
       "      <td>--</td>\n",
       "      <td>192.63</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>483</th>\n",
       "      <td>1978.3</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>827.83</td>\n",
       "      <td>--</td>\n",
       "      <td>194.86</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>484</th>\n",
       "      <td>1978.2</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>833.35</td>\n",
       "      <td>--</td>\n",
       "      <td>205.89</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>485</th>\n",
       "      <td>1978.1</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>870.53</td>\n",
       "      <td>--</td>\n",
       "      <td>229.59</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>486 rows × 17 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       month          m2 m2_yoy         m1 m1_yoy        m0  m0_yoy  \\\n",
       "0     2018.6  1770178.37   8.30  543944.71   6.00  69589.33    3.60   \n",
       "1     2018.5  1743063.79   8.30  526276.72   6.00  69774.81    3.60   \n",
       "2     2018.4  1737683.73   8.30  525447.77   7.20  71476.46    4.50   \n",
       "3     2018.3  1739859.48   8.20  523540.07   7.10  72692.63    6.00   \n",
       "4     2018.2  1729070.12   8.80  517035.99   8.50  81424.24   13.50   \n",
       "5     2018.1  1720814.46   8.62  543247.13  14.97  74636.29  -13.81   \n",
       "6    2017.12  1676768.54   8.10  543790.15  11.80  70645.60    3.40   \n",
       "7    2017.11  1670013.40   9.10  535565.05  12.70  68623.16    5.70   \n",
       "8    2017.10  1653434.16   8.90  525977.19  13.00  68230.69    6.30   \n",
       "9     2017.9  1655662.07   9.00  517863.04  14.00  69748.54    7.20   \n",
       "10    2017.8  1645156.60   8.60  518113.93  14.00  67550.99    6.50   \n",
       "11    2017.7  1628996.63   8.90  510484.58  15.30  67129.04    6.10   \n",
       "12    2017.6  1631282.53   9.10  510228.17  15.00  66977.68    6.60   \n",
       "13    2017.5  1601360.42   9.10  496389.78  17.00  67333.21    7.30   \n",
       "14    2017.4  1596331.87   9.80  490180.42  18.54  68392.60    6.19   \n",
       "15    2017.3  1599609.57  10.10  488770.09  18.80  68605.05    6.10   \n",
       "16    2017.2  1582913.07  10.40  476527.60  21.40  71727.69    3.30   \n",
       "17    2017.1  1575945.59  10.70  472526.45  14.50  86598.61   19.40   \n",
       "18   2016.12  1550066.67  11.33  486557.24  21.35  68303.87    8.05   \n",
       "19   2016.11  1530432.06  11.39  475405.54  22.65  64903.50    7.58   \n",
       "20   2016.10  1519485.40  11.64  465446.65  23.85  64214.93    7.20   \n",
       "21    2016.9  1516360.50  11.50  454340.25  24.70  65068.62    6.60   \n",
       "22    2016.8  1510982.91  11.35  454543.60  25.29  63454.70    7.44   \n",
       "23    2016.7  1491558.72  10.22  442934.43  25.43  63276.01    7.23   \n",
       "24    2016.6  1490491.83  11.78  443643.70  24.59  62818.89    7.19   \n",
       "25    2016.5  1461695.11  11.81  424250.70  23.66  62780.71    6.27   \n",
       "26    2016.4  1445209.59  12.84  413504.84  22.92  64403.17    5.97   \n",
       "27    2016.3  1446198.03  13.40  411581.31  22.05  64651.21    4.36   \n",
       "28    2016.2  1424618.68  13.30  392504.70  17.36  69421.50   -4.77   \n",
       "29    2016.1  1416319.55  13.97  412685.64  18.55  72526.51   15.05   \n",
       "..       ...         ...    ...        ...    ...       ...     ...   \n",
       "456   1980.6          --     --     983.04  20.67    243.30   16.57   \n",
       "457   1980.5          --     --     957.20  18.30    243.13   16.33   \n",
       "458   1980.4          --     --     954.89  14.35    254.07   16.91   \n",
       "459   1980.3          --     --     963.91  15.68    261.49   19.39   \n",
       "460   1980.2          --     --     975.80  18.57    279.18   22.25   \n",
       "461   1980.1          --     --    1031.89  21.20    300.41   16.79   \n",
       "462  1979.12          --     --    1069.36  24.42    267.71   26.26   \n",
       "463  1979.11          --     --     955.66  18.24    235.13   23.40   \n",
       "464  1979.10          --     --     895.32  14.99    220.90   19.25   \n",
       "465   1979.9          --     --     871.19  14.11    225.57   19.81   \n",
       "466   1979.8          --     --     849.58  12.38    215.35   18.25   \n",
       "467   1979.7          --     --     831.28  11.37    212.96   17.64   \n",
       "468   1979.6          --     --     814.67   9.34    208.71   16.95   \n",
       "469   1979.5          --     --     809.14   6.76    209.00   14.73   \n",
       "470   1979.4          --     --     835.08   3.33    217.33   12.82   \n",
       "471   1979.3          --     --     833.24   0.65    219.02   12.40   \n",
       "472   1979.2          --     --     823.00  -1.24    228.36   10.91   \n",
       "473   1979.1          --     --     851.39  -2.20    257.22   12.03   \n",
       "474  1978.12          --     --     859.45     --    212.03      --   \n",
       "475  1978.11          --     --     808.27     --    190.54      --   \n",
       "476  1978.10          --     --     778.64     --    185.24      --   \n",
       "477   1978.9          --     --     763.47     --    188.27      --   \n",
       "478   1978.8          --     --     755.99     --    182.12      --   \n",
       "479   1978.7          --     --     746.43     --    181.02      --   \n",
       "480   1978.6          --     --     745.08     --    178.46      --   \n",
       "481   1978.5          --     --     757.93     --    182.17      --   \n",
       "482   1978.4          --     --     808.17     --    192.63      --   \n",
       "483   1978.3          --     --     827.83     --    194.86      --   \n",
       "484   1978.2          --     --     833.35     --    205.89      --   \n",
       "485   1978.1          --     --     870.53     --    229.59      --   \n",
       "\n",
       "            cd cd_yoy          qm qm_yoy        ftd ftd_yoy         sd sd_yoy  \\\n",
       "0    474355.38     --  1226233.66     --  334425.29      --  692440.77     --   \n",
       "1    456501.91     --  1216787.08     --  336063.23      --  681333.90     --   \n",
       "2    453971.31     --  1212235.96     --  335348.35      --  679185.94     --   \n",
       "3    450847.45     --  1216319.40     --  332605.89      --  692563.69     --   \n",
       "4    435611.75     --  1212034.13     --  330531.73      --  687076.39     --   \n",
       "5    468610.84     --  1177567.33     --  328169.80      --  658424.25     --   \n",
       "6    473144.55     --  1132978.39     --  320196.23      --  649341.50     --   \n",
       "7    466941.89     --  1134448.35     --  320651.87      --  641619.60     --   \n",
       "8    457746.50     --  1127456.97     --  319740.97      --  640250.93     --   \n",
       "9    448114.50     --  1137799.03     --  326614.31      --  648349.70     --   \n",
       "10   450562.94     --  1127042.67     --  317888.57      --  637886.94     --   \n",
       "11   443355.54     --  1118512.05     --  314699.58      --  635229.77     --   \n",
       "12   443250.48     --  1121054.36     --  317003.07      --  642931.90     --   \n",
       "13   429056.58     --  1104970.63     --  314929.83      --  632225.70     --   \n",
       "14   421787.82     --  1106151.45     --  318092.78      --  630992.53     --   \n",
       "15   420165.04     --  1110839.48     --  317183.42      --  643278.44     --   \n",
       "16   404799.91     --  1106385.48     --  311667.58      --  635880.32     --   \n",
       "17   385927.84     --  1103419.14     --  317957.26      --  634745.73     --   \n",
       "18   418253.37     --  1063509.43     --  307989.61      --  603504.20     --   \n",
       "19   410502.04     --  1055026.52     --  309067.58      --  597374.12     --   \n",
       "20   401231.71     --  1054038.76     --  307895.68      --  594169.86     --   \n",
       "21   389271.63     --  1062020.26     --  315077.15      --  598880.53     --   \n",
       "22   391088.90     --  1056439.31     --  307806.49      --  589372.14     --   \n",
       "23   379658.42     --  1048624.29     --  301688.23      --  585217.87     --   \n",
       "24   380824.81     --  1046848.13     --  301673.99      --  587548.66     --   \n",
       "25   361469.99     --  1037444.41     --  302474.13      --  577996.21     --   \n",
       "26   349101.67     --  1031704.75     --  303423.88      --  577489.72     --   \n",
       "27   346930.10     --  1034616.71     --  300623.37      --  586855.68     --   \n",
       "28   323083.20     --  1032113.98     --  294042.64      --  581012.06     --   \n",
       "29   340159.13     --  1003633.91     --  294289.20      --  560967.64     --   \n",
       "..         ...    ...         ...    ...        ...     ...        ...    ...   \n",
       "456         --     --          --     --         --      --         --     --   \n",
       "457         --     --          --     --         --      --         --     --   \n",
       "458         --     --          --     --         --      --         --     --   \n",
       "459         --     --          --     --         --      --         --     --   \n",
       "460         --     --          --     --         --      --         --     --   \n",
       "461         --     --          --     --         --      --         --     --   \n",
       "462         --     --          --     --         --      --         --     --   \n",
       "463         --     --          --     --         --      --         --     --   \n",
       "464         --     --          --     --         --      --         --     --   \n",
       "465         --     --          --     --         --      --         --     --   \n",
       "466         --     --          --     --         --      --         --     --   \n",
       "467         --     --          --     --         --      --         --     --   \n",
       "468         --     --          --     --         --      --         --     --   \n",
       "469         --     --          --     --         --      --         --     --   \n",
       "470         --     --          --     --         --      --         --     --   \n",
       "471         --     --          --     --         --      --         --     --   \n",
       "472         --     --          --     --         --      --         --     --   \n",
       "473         --     --          --     --         --      --         --     --   \n",
       "474         --     --          --     --         --      --         --     --   \n",
       "475         --     --          --     --         --      --         --     --   \n",
       "476         --     --          --     --         --      --         --     --   \n",
       "477         --     --          --     --         --      --         --     --   \n",
       "478         --     --          --     --         --      --         --     --   \n",
       "479         --     --          --     --         --      --         --     --   \n",
       "480         --     --          --     --         --      --         --     --   \n",
       "481         --     --          --     --         --      --         --     --   \n",
       "482         --     --          --     --         --      --         --     --   \n",
       "483         --     --          --     --         --      --         --     --   \n",
       "484         --     --          --     --         --      --         --     --   \n",
       "485         --     --          --     --         --      --         --     --   \n",
       "\n",
       "         rests rests_yoy  \n",
       "0    199367.60        --  \n",
       "1    199389.95        --  \n",
       "2    197701.67        --  \n",
       "3    191149.82        --  \n",
       "4    194426.00        --  \n",
       "5    190973.27        --  \n",
       "6    163440.66        --  \n",
       "7    172176.88        --  \n",
       "8    167465.07        --  \n",
       "9    162835.01        --  \n",
       "10   171267.16        --  \n",
       "11   168582.71        --  \n",
       "12   161119.39        --  \n",
       "13   157815.10        --  \n",
       "14   157066.14        --  \n",
       "15   150377.62        --  \n",
       "16   158837.59        --  \n",
       "17   150716.15        --  \n",
       "18   152015.62        --  \n",
       "19   148584.82        --  \n",
       "20   151973.22        --  \n",
       "21   148062.57        --  \n",
       "22   159260.68        --  \n",
       "23   161718.19        --  \n",
       "24   157625.48        --  \n",
       "25   156974.07        --  \n",
       "26   150791.14        --  \n",
       "27   147137.66        --  \n",
       "28   157059.29        --  \n",
       "29   148377.07        --  \n",
       "..         ...       ...  \n",
       "456         --        --  \n",
       "457         --        --  \n",
       "458         --        --  \n",
       "459         --        --  \n",
       "460         --        --  \n",
       "461         --        --  \n",
       "462         --        --  \n",
       "463         --        --  \n",
       "464         --        --  \n",
       "465         --        --  \n",
       "466         --        --  \n",
       "467         --        --  \n",
       "468         --        --  \n",
       "469         --        --  \n",
       "470         --        --  \n",
       "471         --        --  \n",
       "472         --        --  \n",
       "473         --        --  \n",
       "474         --        --  \n",
       "475         --        --  \n",
       "476         --        --  \n",
       "477         --        --  \n",
       "478         --        --  \n",
       "479         --        --  \n",
       "480         --        --  \n",
       "481         --        --  \n",
       "482         --        --  \n",
       "483         --        --  \n",
       "484         --        --  \n",
       "485         --        --  \n",
       "\n",
       "[486 rows x 17 columns]"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import tushare as ts\n",
    "\n",
    "ts.get_money_supply()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 货币供应量(年底余额)\n",
    "\n",
    "调用方法：\n",
    "\n",
    "import tushare as ts\n",
    "\n",
    "ts.get_money_supply_bal()\n",
    "\n",
    "返回值说明：\n",
    "\n",
    "    year :统计年度\n",
    "    m2 :货币和准货币(亿元)\n",
    "    m1:货币(亿元)\n",
    "    m0:流通中现金(亿元)\n",
    "    cd:活期存款(亿元)\n",
    "    qm:准货币(亿元)\n",
    "    ftd:定期存款(亿元)\n",
    "    sd:储蓄存款(亿元)\n",
    "    rests:其他存款(亿元)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>year</th>\n",
       "      <th>m2</th>\n",
       "      <th>m1</th>\n",
       "      <th>m0</th>\n",
       "      <th>cd</th>\n",
       "      <th>qm</th>\n",
       "      <th>ftd</th>\n",
       "      <th>sd</th>\n",
       "      <th>rests</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2016</td>\n",
       "      <td>1550067.00</td>\n",
       "      <td>486557.00</td>\n",
       "      <td>68304.00</td>\n",
       "      <td>418253.40</td>\n",
       "      <td>1063509.40</td>\n",
       "      <td>307989.60</td>\n",
       "      <td>603504.20</td>\n",
       "      <td>152015.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2015</td>\n",
       "      <td>1392278.00</td>\n",
       "      <td>400953.00</td>\n",
       "      <td>63217.00</td>\n",
       "      <td>337736.90</td>\n",
       "      <td>991324.70</td>\n",
       "      <td>288240.70</td>\n",
       "      <td>552073.50</td>\n",
       "      <td>151010.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2014</td>\n",
       "      <td>1228375.00</td>\n",
       "      <td>348056.00</td>\n",
       "      <td>60260.00</td>\n",
       "      <td>287796.90</td>\n",
       "      <td>880318.40</td>\n",
       "      <td>264055.70</td>\n",
       "      <td>508878.10</td>\n",
       "      <td>107384.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2013</td>\n",
       "      <td>1106525.00</td>\n",
       "      <td>337291.00</td>\n",
       "      <td>58574.00</td>\n",
       "      <td>278716.60</td>\n",
       "      <td>769233.90</td>\n",
       "      <td>232696.60</td>\n",
       "      <td>467031.10</td>\n",
       "      <td>69506.20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2012</td>\n",
       "      <td>974149.00</td>\n",
       "      <td>308664.00</td>\n",
       "      <td>54660.00</td>\n",
       "      <td>254004.50</td>\n",
       "      <td>665484.60</td>\n",
       "      <td>195940.10</td>\n",
       "      <td>411362.60</td>\n",
       "      <td>58181.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2011</td>\n",
       "      <td>851591.00</td>\n",
       "      <td>289848.00</td>\n",
       "      <td>50748.00</td>\n",
       "      <td>239099.20</td>\n",
       "      <td>561743.20</td>\n",
       "      <td>166616.00</td>\n",
       "      <td>352797.50</td>\n",
       "      <td>42329.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2010</td>\n",
       "      <td>725852.00</td>\n",
       "      <td>266622.00</td>\n",
       "      <td>44628.00</td>\n",
       "      <td>221993.40</td>\n",
       "      <td>459230.30</td>\n",
       "      <td>105858.70</td>\n",
       "      <td>303302.50</td>\n",
       "      <td>50069.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2009</td>\n",
       "      <td>610225.00</td>\n",
       "      <td>221446.00</td>\n",
       "      <td>38247.00</td>\n",
       "      <td>183198.80</td>\n",
       "      <td>388778.70</td>\n",
       "      <td>84819.50</td>\n",
       "      <td>260752.70</td>\n",
       "      <td>43206.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2008</td>\n",
       "      <td>475167.00</td>\n",
       "      <td>166217.00</td>\n",
       "      <td>34219.00</td>\n",
       "      <td>131998.20</td>\n",
       "      <td>308949.50</td>\n",
       "      <td>60103.10</td>\n",
       "      <td>217885.40</td>\n",
       "      <td>30961.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2007</td>\n",
       "      <td>403442.00</td>\n",
       "      <td>152560.00</td>\n",
       "      <td>30375.00</td>\n",
       "      <td>122184.90</td>\n",
       "      <td>250882.10</td>\n",
       "      <td>46932.50</td>\n",
       "      <td>172534.20</td>\n",
       "      <td>31415.40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2006</td>\n",
       "      <td>345578.00</td>\n",
       "      <td>126028.00</td>\n",
       "      <td>27073.00</td>\n",
       "      <td>98962.50</td>\n",
       "      <td>219568.50</td>\n",
       "      <td>--</td>\n",
       "      <td>161587.30</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2005</td>\n",
       "      <td>298756.00</td>\n",
       "      <td>107279.00</td>\n",
       "      <td>24032.00</td>\n",
       "      <td>83247.10</td>\n",
       "      <td>191476.90</td>\n",
       "      <td>33100.00</td>\n",
       "      <td>141051.00</td>\n",
       "      <td>17325.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2004</td>\n",
       "      <td>254107.00</td>\n",
       "      <td>95970.00</td>\n",
       "      <td>21468.00</td>\n",
       "      <td>74501.40</td>\n",
       "      <td>158137.20</td>\n",
       "      <td>25382.20</td>\n",
       "      <td>119555.40</td>\n",
       "      <td>13199.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2003</td>\n",
       "      <td>221223.00</td>\n",
       "      <td>84119.00</td>\n",
       "      <td>19746.00</td>\n",
       "      <td>64372.60</td>\n",
       "      <td>137104.30</td>\n",
       "      <td>20940.40</td>\n",
       "      <td>103617.70</td>\n",
       "      <td>12546.20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>2002</td>\n",
       "      <td>185007.00</td>\n",
       "      <td>70882.00</td>\n",
       "      <td>17278.00</td>\n",
       "      <td>53603.80</td>\n",
       "      <td>114125.20</td>\n",
       "      <td>16433.80</td>\n",
       "      <td>86910.70</td>\n",
       "      <td>10780.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2001</td>\n",
       "      <td>158302.00</td>\n",
       "      <td>59872.00</td>\n",
       "      <td>15689.00</td>\n",
       "      <td>44182.80</td>\n",
       "      <td>98430.30</td>\n",
       "      <td>14180.10</td>\n",
       "      <td>73762.40</td>\n",
       "      <td>10487.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2000</td>\n",
       "      <td>134610.40</td>\n",
       "      <td>53147.20</td>\n",
       "      <td>14652.70</td>\n",
       "      <td>38494.50</td>\n",
       "      <td>81463.20</td>\n",
       "      <td>11261.10</td>\n",
       "      <td>64332.40</td>\n",
       "      <td>5869.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>1999</td>\n",
       "      <td>119897.90</td>\n",
       "      <td>45837.30</td>\n",
       "      <td>13455.50</td>\n",
       "      <td>32381.80</td>\n",
       "      <td>74060.60</td>\n",
       "      <td>9476.80</td>\n",
       "      <td>59621.80</td>\n",
       "      <td>4962.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>1998</td>\n",
       "      <td>104498.50</td>\n",
       "      <td>38953.70</td>\n",
       "      <td>11204.20</td>\n",
       "      <td>27749.50</td>\n",
       "      <td>65544.90</td>\n",
       "      <td>8301.90</td>\n",
       "      <td>53407.50</td>\n",
       "      <td>3835.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>1997</td>\n",
       "      <td>90995.30</td>\n",
       "      <td>34826.30</td>\n",
       "      <td>10177.60</td>\n",
       "      <td>24648.70</td>\n",
       "      <td>56169.00</td>\n",
       "      <td>6738.50</td>\n",
       "      <td>46279.80</td>\n",
       "      <td>3150.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>1996</td>\n",
       "      <td>76094.90</td>\n",
       "      <td>28514.80</td>\n",
       "      <td>8802.00</td>\n",
       "      <td>19712.80</td>\n",
       "      <td>47580.10</td>\n",
       "      <td>5041.90</td>\n",
       "      <td>38520.80</td>\n",
       "      <td>4017.40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>1995</td>\n",
       "      <td>60750.50</td>\n",
       "      <td>23987.10</td>\n",
       "      <td>7885.30</td>\n",
       "      <td>16101.80</td>\n",
       "      <td>36763.40</td>\n",
       "      <td>3324.20</td>\n",
       "      <td>29662.20</td>\n",
       "      <td>3777.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>1994</td>\n",
       "      <td>46923.50</td>\n",
       "      <td>20540.70</td>\n",
       "      <td>7288.60</td>\n",
       "      <td>13252.10</td>\n",
       "      <td>26382.80</td>\n",
       "      <td>1943.10</td>\n",
       "      <td>21518.40</td>\n",
       "      <td>2921.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>1993</td>\n",
       "      <td>34879.80</td>\n",
       "      <td>16280.40</td>\n",
       "      <td>5864.70</td>\n",
       "      <td>10415.70</td>\n",
       "      <td>18599.40</td>\n",
       "      <td>1247.90</td>\n",
       "      <td>15203.50</td>\n",
       "      <td>2148.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>1992</td>\n",
       "      <td>25402.20</td>\n",
       "      <td>11731.50</td>\n",
       "      <td>4336.00</td>\n",
       "      <td>7395.20</td>\n",
       "      <td>13670.70</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>1991</td>\n",
       "      <td>19349.90</td>\n",
       "      <td>8633.30</td>\n",
       "      <td>3177.80</td>\n",
       "      <td>5455.50</td>\n",
       "      <td>10716.60</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>1990</td>\n",
       "      <td>15293.40</td>\n",
       "      <td>6950.70</td>\n",
       "      <td>2644.40</td>\n",
       "      <td>4306.30</td>\n",
       "      <td>8342.70</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "      <td>--</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "    year          m2         m1        m0         cd          qm        ftd  \\\n",
       "0   2016  1550067.00  486557.00  68304.00  418253.40  1063509.40  307989.60   \n",
       "1   2015  1392278.00  400953.00  63217.00  337736.90   991324.70  288240.70   \n",
       "2   2014  1228375.00  348056.00  60260.00  287796.90   880318.40  264055.70   \n",
       "3   2013  1106525.00  337291.00  58574.00  278716.60   769233.90  232696.60   \n",
       "4   2012   974149.00  308664.00  54660.00  254004.50   665484.60  195940.10   \n",
       "5   2011   851591.00  289848.00  50748.00  239099.20   561743.20  166616.00   \n",
       "6   2010   725852.00  266622.00  44628.00  221993.40   459230.30  105858.70   \n",
       "7   2009   610225.00  221446.00  38247.00  183198.80   388778.70   84819.50   \n",
       "8   2008   475167.00  166217.00  34219.00  131998.20   308949.50   60103.10   \n",
       "9   2007   403442.00  152560.00  30375.00  122184.90   250882.10   46932.50   \n",
       "10  2006   345578.00  126028.00  27073.00   98962.50   219568.50         --   \n",
       "11  2005   298756.00  107279.00  24032.00   83247.10   191476.90   33100.00   \n",
       "12  2004   254107.00   95970.00  21468.00   74501.40   158137.20   25382.20   \n",
       "13  2003   221223.00   84119.00  19746.00   64372.60   137104.30   20940.40   \n",
       "14  2002   185007.00   70882.00  17278.00   53603.80   114125.20   16433.80   \n",
       "15  2001   158302.00   59872.00  15689.00   44182.80    98430.30   14180.10   \n",
       "16  2000   134610.40   53147.20  14652.70   38494.50    81463.20   11261.10   \n",
       "17  1999   119897.90   45837.30  13455.50   32381.80    74060.60    9476.80   \n",
       "18  1998   104498.50   38953.70  11204.20   27749.50    65544.90    8301.90   \n",
       "19  1997    90995.30   34826.30  10177.60   24648.70    56169.00    6738.50   \n",
       "20  1996    76094.90   28514.80   8802.00   19712.80    47580.10    5041.90   \n",
       "21  1995    60750.50   23987.10   7885.30   16101.80    36763.40    3324.20   \n",
       "22  1994    46923.50   20540.70   7288.60   13252.10    26382.80    1943.10   \n",
       "23  1993    34879.80   16280.40   5864.70   10415.70    18599.40    1247.90   \n",
       "24  1992    25402.20   11731.50   4336.00    7395.20    13670.70         --   \n",
       "25  1991    19349.90    8633.30   3177.80    5455.50    10716.60         --   \n",
       "26  1990    15293.40    6950.70   2644.40    4306.30     8342.70         --   \n",
       "\n",
       "           sd      rests  \n",
       "0   603504.20  152015.60  \n",
       "1   552073.50  151010.50  \n",
       "2   508878.10  107384.60  \n",
       "3   467031.10   69506.20  \n",
       "4   411362.60   58181.90  \n",
       "5   352797.50   42329.70  \n",
       "6   303302.50   50069.10  \n",
       "7   260752.70   43206.50  \n",
       "8   217885.40   30961.10  \n",
       "9   172534.20   31415.40  \n",
       "10  161587.30         --  \n",
       "11  141051.00   17325.90  \n",
       "12  119555.40   13199.70  \n",
       "13  103617.70   12546.20  \n",
       "14   86910.70   10780.70  \n",
       "15   73762.40   10487.80  \n",
       "16   64332.40    5869.70  \n",
       "17   59621.80    4962.00  \n",
       "18   53407.50    3835.50  \n",
       "19   46279.80    3150.70  \n",
       "20   38520.80    4017.40  \n",
       "21   29662.20    3777.00  \n",
       "22   21518.40    2921.30  \n",
       "23   15203.50    2148.00  \n",
       "24         --         --  \n",
       "25         --         --  \n",
       "26         --         --  "
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import tushare as ts\n",
    "\n",
    "ts.get_money_supply_bal()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 国内生产总值(年度)\n",
    "\n",
    "调用方法：\n",
    "\n",
    "import tushare as ts\n",
    "\n",
    "ts.get_gdp_year()\n",
    "\n",
    "返回值说明：\n",
    "\n",
    "    year :统计年度\n",
    "    gdp :国内生产总值(亿元)\n",
    "    pc_gdp :人均国内生产总值(元)\n",
    "    gnp :国民生产总值(亿元)\n",
    "    pi :第一产业(亿元)\n",
    "    si :第二产业(亿元)\n",
    "    industry :工业(亿元)\n",
    "    cons_industry :建筑业(亿元)\n",
    "    ti :第三产业(亿元)\n",
    "    trans_industry :交通运输仓储邮电通信业(亿元)\n",
    "    lbdy :批发零售贸易及餐饮业(亿元)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>year</th>\n",
       "      <th>gdp</th>\n",
       "      <th>pc_gdp</th>\n",
       "      <th>gnp</th>\n",
       "      <th>pi</th>\n",
       "      <th>si</th>\n",
       "      <th>industry</th>\n",
       "      <th>cons_industry</th>\n",
       "      <th>ti</th>\n",
       "      <th>trans_industry</th>\n",
       "      <th>lbdy</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2017</td>\n",
       "      <td>827122.00</td>\n",
       "      <td>59660.00</td>\n",
       "      <td>NaN</td>\n",
       "      <td>65468.00</td>\n",
       "      <td>334623.00</td>\n",
       "      <td>279996.90</td>\n",
       "      <td>55689.00</td>\n",
       "      <td>427032.00</td>\n",
       "      <td>36802.70</td>\n",
       "      <td>77743.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2016</td>\n",
       "      <td>743585.50</td>\n",
       "      <td>53935.00</td>\n",
       "      <td>NaN</td>\n",
       "      <td>63672.80</td>\n",
       "      <td>296547.70</td>\n",
       "      <td>247877.70</td>\n",
       "      <td>49702.90</td>\n",
       "      <td>383365.00</td>\n",
       "      <td>33058.80</td>\n",
       "      <td>84571.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2015</td>\n",
       "      <td>689052.10</td>\n",
       "      <td>50251.00</td>\n",
       "      <td>NaN</td>\n",
       "      <td>60862.10</td>\n",
       "      <td>282040.30</td>\n",
       "      <td>236506.30</td>\n",
       "      <td>46626.70</td>\n",
       "      <td>346149.70</td>\n",
       "      <td>30487.80</td>\n",
       "      <td>78340.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2014</td>\n",
       "      <td>643974.00</td>\n",
       "      <td>47203.00</td>\n",
       "      <td>NaN</td>\n",
       "      <td>58343.50</td>\n",
       "      <td>277571.80</td>\n",
       "      <td>233856.40</td>\n",
       "      <td>44880.50</td>\n",
       "      <td>308058.60</td>\n",
       "      <td>28500.90</td>\n",
       "      <td>73582.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2013</td>\n",
       "      <td>588018.80</td>\n",
       "      <td>43852.00</td>\n",
       "      <td>NaN</td>\n",
       "      <td>55321.70</td>\n",
       "      <td>261956.10</td>\n",
       "      <td>210689.42</td>\n",
       "      <td>38995.00</td>\n",
       "      <td>275887.00</td>\n",
       "      <td>27282.93</td>\n",
       "      <td>67778.15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2012</td>\n",
       "      <td>534123.00</td>\n",
       "      <td>40007.00</td>\n",
       "      <td>NaN</td>\n",
       "      <td>50892.70</td>\n",
       "      <td>240200.40</td>\n",
       "      <td>199670.66</td>\n",
       "      <td>35491.34</td>\n",
       "      <td>243030.00</td>\n",
       "      <td>24660.00</td>\n",
       "      <td>60295.21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2011</td>\n",
       "      <td>484123.50</td>\n",
       "      <td>35197.79</td>\n",
       "      <td>NaN</td>\n",
       "      <td>46153.30</td>\n",
       "      <td>223390.30</td>\n",
       "      <td>188470.15</td>\n",
       "      <td>31942.66</td>\n",
       "      <td>214579.90</td>\n",
       "      <td>22432.84</td>\n",
       "      <td>52903.35</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2010</td>\n",
       "      <td>401202.00</td>\n",
       "      <td>29992.00</td>\n",
       "      <td>403260.00</td>\n",
       "      <td>40533.60</td>\n",
       "      <td>187581.42</td>\n",
       "      <td>160867.01</td>\n",
       "      <td>26714.41</td>\n",
       "      <td>173087.00</td>\n",
       "      <td>18968.48</td>\n",
       "      <td>43814.55</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2009</td>\n",
       "      <td>340902.80</td>\n",
       "      <td>25608.00</td>\n",
       "      <td>341401.50</td>\n",
       "      <td>35226.00</td>\n",
       "      <td>157638.80</td>\n",
       "      <td>135239.90</td>\n",
       "      <td>22398.80</td>\n",
       "      <td>148038.00</td>\n",
       "      <td>16727.10</td>\n",
       "      <td>36102.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2008</td>\n",
       "      <td>314045.40</td>\n",
       "      <td>23708.00</td>\n",
       "      <td>315274.70</td>\n",
       "      <td>33702.00</td>\n",
       "      <td>149003.40</td>\n",
       "      <td>130260.20</td>\n",
       "      <td>18743.20</td>\n",
       "      <td>131340.00</td>\n",
       "      <td>16362.50</td>\n",
       "      <td>32798.40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2007</td>\n",
       "      <td>265810.30</td>\n",
       "      <td>20169.00</td>\n",
       "      <td>266411.00</td>\n",
       "      <td>28627.00</td>\n",
       "      <td>125831.40</td>\n",
       "      <td>110534.90</td>\n",
       "      <td>15296.50</td>\n",
       "      <td>111351.90</td>\n",
       "      <td>14601.00</td>\n",
       "      <td>26485.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2006</td>\n",
       "      <td>216314.43</td>\n",
       "      <td>16499.70</td>\n",
       "      <td>215904.41</td>\n",
       "      <td>24040.00</td>\n",
       "      <td>103719.54</td>\n",
       "      <td>91310.94</td>\n",
       "      <td>12408.60</td>\n",
       "      <td>88554.88</td>\n",
       "      <td>12182.98</td>\n",
       "      <td>21323.31</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2005</td>\n",
       "      <td>184937.37</td>\n",
       "      <td>14185.36</td>\n",
       "      <td>183617.37</td>\n",
       "      <td>22420.00</td>\n",
       "      <td>87598.09</td>\n",
       "      <td>77230.78</td>\n",
       "      <td>10367.32</td>\n",
       "      <td>74919.28</td>\n",
       "      <td>10666.16</td>\n",
       "      <td>18161.89</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2004</td>\n",
       "      <td>159878.34</td>\n",
       "      <td>12335.58</td>\n",
       "      <td>159453.60</td>\n",
       "      <td>21412.73</td>\n",
       "      <td>73904.31</td>\n",
       "      <td>65210.03</td>\n",
       "      <td>8694.28</td>\n",
       "      <td>64561.29</td>\n",
       "      <td>9304.39</td>\n",
       "      <td>16118.65</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>2003</td>\n",
       "      <td>135822.76</td>\n",
       "      <td>10541.97</td>\n",
       "      <td>134976.97</td>\n",
       "      <td>17381.72</td>\n",
       "      <td>62436.31</td>\n",
       "      <td>54945.53</td>\n",
       "      <td>7490.78</td>\n",
       "      <td>56004.73</td>\n",
       "      <td>7913.19</td>\n",
       "      <td>14295.53</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2002</td>\n",
       "      <td>120332.69</td>\n",
       "      <td>9398.05</td>\n",
       "      <td>119095.69</td>\n",
       "      <td>16537.02</td>\n",
       "      <td>53896.77</td>\n",
       "      <td>47431.31</td>\n",
       "      <td>6465.46</td>\n",
       "      <td>49898.90</td>\n",
       "      <td>7492.95</td>\n",
       "      <td>12720.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2001</td>\n",
       "      <td>109655.17</td>\n",
       "      <td>8621.71</td>\n",
       "      <td>108068.22</td>\n",
       "      <td>15781.27</td>\n",
       "      <td>49512.29</td>\n",
       "      <td>43580.62</td>\n",
       "      <td>5931.67</td>\n",
       "      <td>44361.61</td>\n",
       "      <td>6870.25</td>\n",
       "      <td>11519.54</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2000</td>\n",
       "      <td>99214.55</td>\n",
       "      <td>7857.68</td>\n",
       "      <td>98000.45</td>\n",
       "      <td>14944.72</td>\n",
       "      <td>45555.88</td>\n",
       "      <td>40033.59</td>\n",
       "      <td>5522.29</td>\n",
       "      <td>38713.95</td>\n",
       "      <td>6160.95</td>\n",
       "      <td>10304.85</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>1999</td>\n",
       "      <td>89677.10</td>\n",
       "      <td>7159.00</td>\n",
       "      <td>88479.20</td>\n",
       "      <td>14770.00</td>\n",
       "      <td>41033.60</td>\n",
       "      <td>35861.50</td>\n",
       "      <td>5172.10</td>\n",
       "      <td>33873.40</td>\n",
       "      <td>5175.20</td>\n",
       "      <td>9432.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>1998</td>\n",
       "      <td>84402.30</td>\n",
       "      <td>6796.00</td>\n",
       "      <td>83024.30</td>\n",
       "      <td>14817.60</td>\n",
       "      <td>39004.20</td>\n",
       "      <td>34018.40</td>\n",
       "      <td>4985.80</td>\n",
       "      <td>30580.50</td>\n",
       "      <td>4660.90</td>\n",
       "      <td>8700.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>1997</td>\n",
       "      <td>78973.00</td>\n",
       "      <td>6420.00</td>\n",
       "      <td>78060.80</td>\n",
       "      <td>14441.90</td>\n",
       "      <td>37543.00</td>\n",
       "      <td>32921.40</td>\n",
       "      <td>4621.60</td>\n",
       "      <td>26988.10</td>\n",
       "      <td>4148.60</td>\n",
       "      <td>7888.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>1996</td>\n",
       "      <td>71176.60</td>\n",
       "      <td>5846.00</td>\n",
       "      <td>70142.50</td>\n",
       "      <td>14015.40</td>\n",
       "      <td>33835.00</td>\n",
       "      <td>29447.60</td>\n",
       "      <td>4387.40</td>\n",
       "      <td>23326.20</td>\n",
       "      <td>3782.20</td>\n",
       "      <td>6936.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>1995</td>\n",
       "      <td>60793.70</td>\n",
       "      <td>5046.00</td>\n",
       "      <td>59810.50</td>\n",
       "      <td>12135.80</td>\n",
       "      <td>28679.50</td>\n",
       "      <td>24950.60</td>\n",
       "      <td>3728.80</td>\n",
       "      <td>19978.50</td>\n",
       "      <td>3244.30</td>\n",
       "      <td>5978.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>1994</td>\n",
       "      <td>48197.90</td>\n",
       "      <td>4044.00</td>\n",
       "      <td>48108.50</td>\n",
       "      <td>9572.70</td>\n",
       "      <td>22445.40</td>\n",
       "      <td>19480.70</td>\n",
       "      <td>2964.70</td>\n",
       "      <td>16179.80</td>\n",
       "      <td>2787.90</td>\n",
       "      <td>4781.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>1993</td>\n",
       "      <td>35333.90</td>\n",
       "      <td>2998.00</td>\n",
       "      <td>35260.00</td>\n",
       "      <td>6963.80</td>\n",
       "      <td>16454.40</td>\n",
       "      <td>14188.00</td>\n",
       "      <td>2266.50</td>\n",
       "      <td>11915.70</td>\n",
       "      <td>2174.00</td>\n",
       "      <td>3528.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>1992</td>\n",
       "      <td>26923.50</td>\n",
       "      <td>2311.00</td>\n",
       "      <td>26937.30</td>\n",
       "      <td>5866.60</td>\n",
       "      <td>11699.50</td>\n",
       "      <td>10284.50</td>\n",
       "      <td>1415.00</td>\n",
       "      <td>9357.40</td>\n",
       "      <td>1689.00</td>\n",
       "      <td>2989.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>1991</td>\n",
       "      <td>21781.50</td>\n",
       "      <td>1893.00</td>\n",
       "      <td>21826.20</td>\n",
       "      <td>5342.20</td>\n",
       "      <td>9102.20</td>\n",
       "      <td>8087.10</td>\n",
       "      <td>1015.10</td>\n",
       "      <td>7337.10</td>\n",
       "      <td>1420.30</td>\n",
       "      <td>2276.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>1990</td>\n",
       "      <td>18667.80</td>\n",
       "      <td>1644.00</td>\n",
       "      <td>18718.30</td>\n",
       "      <td>5062.00</td>\n",
       "      <td>7717.40</td>\n",
       "      <td>6858.00</td>\n",
       "      <td>859.40</td>\n",
       "      <td>5888.40</td>\n",
       "      <td>1167.00</td>\n",
       "      <td>1570.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>1989</td>\n",
       "      <td>16992.30</td>\n",
       "      <td>1519.00</td>\n",
       "      <td>17000.90</td>\n",
       "      <td>4265.90</td>\n",
       "      <td>7278.00</td>\n",
       "      <td>6484.00</td>\n",
       "      <td>794.00</td>\n",
       "      <td>5448.40</td>\n",
       "      <td>812.70</td>\n",
       "      <td>1813.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>1988</td>\n",
       "      <td>15042.80</td>\n",
       "      <td>1366.00</td>\n",
       "      <td>15036.80</td>\n",
       "      <td>3865.40</td>\n",
       "      <td>6587.20</td>\n",
       "      <td>5777.20</td>\n",
       "      <td>810.00</td>\n",
       "      <td>4590.30</td>\n",
       "      <td>685.70</td>\n",
       "      <td>1724.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>1981</td>\n",
       "      <td>4891.60</td>\n",
       "      <td>492.00</td>\n",
       "      <td>4889.50</td>\n",
       "      <td>1559.50</td>\n",
       "      <td>2255.50</td>\n",
       "      <td>2048.40</td>\n",
       "      <td>207.10</td>\n",
       "      <td>1076.60</td>\n",
       "      <td>220.70</td>\n",
       "      <td>285.20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>1980</td>\n",
       "      <td>4545.60</td>\n",
       "      <td>463.00</td>\n",
       "      <td>4545.60</td>\n",
       "      <td>1371.60</td>\n",
       "      <td>2192.00</td>\n",
       "      <td>1996.50</td>\n",
       "      <td>195.50</td>\n",
       "      <td>982.00</td>\n",
       "      <td>213.40</td>\n",
       "      <td>241.20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>1979</td>\n",
       "      <td>4062.60</td>\n",
       "      <td>419.00</td>\n",
       "      <td>4062.60</td>\n",
       "      <td>1270.20</td>\n",
       "      <td>1913.50</td>\n",
       "      <td>1769.70</td>\n",
       "      <td>143.80</td>\n",
       "      <td>878.90</td>\n",
       "      <td>193.70</td>\n",
       "      <td>244.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>1978</td>\n",
       "      <td>3645.20</td>\n",
       "      <td>381.00</td>\n",
       "      <td>3645.20</td>\n",
       "      <td>1027.50</td>\n",
       "      <td>1745.20</td>\n",
       "      <td>1607.00</td>\n",
       "      <td>138.20</td>\n",
       "      <td>872.50</td>\n",
       "      <td>182.00</td>\n",
       "      <td>286.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>1977</td>\n",
       "      <td>3201.90</td>\n",
       "      <td>339.00</td>\n",
       "      <td>3201.90</td>\n",
       "      <td>942.10</td>\n",
       "      <td>1509.10</td>\n",
       "      <td>1372.40</td>\n",
       "      <td>136.70</td>\n",
       "      <td>750.70</td>\n",
       "      <td>156.90</td>\n",
       "      <td>213.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>1976</td>\n",
       "      <td>2943.70</td>\n",
       "      <td>316.00</td>\n",
       "      <td>2943.70</td>\n",
       "      <td>967.00</td>\n",
       "      <td>1337.20</td>\n",
       "      <td>1204.60</td>\n",
       "      <td>132.60</td>\n",
       "      <td>639.50</td>\n",
       "      <td>139.60</td>\n",
       "      <td>147.20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>1975</td>\n",
       "      <td>2997.30</td>\n",
       "      <td>327.00</td>\n",
       "      <td>2997.30</td>\n",
       "      <td>971.10</td>\n",
       "      <td>1370.50</td>\n",
       "      <td>1244.90</td>\n",
       "      <td>125.60</td>\n",
       "      <td>655.70</td>\n",
       "      <td>141.60</td>\n",
       "      <td>175.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>1974</td>\n",
       "      <td>2789.90</td>\n",
       "      <td>310.00</td>\n",
       "      <td>2789.90</td>\n",
       "      <td>945.20</td>\n",
       "      <td>1192.00</td>\n",
       "      <td>1083.60</td>\n",
       "      <td>108.40</td>\n",
       "      <td>652.70</td>\n",
       "      <td>126.10</td>\n",
       "      <td>206.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>1973</td>\n",
       "      <td>2720.90</td>\n",
       "      <td>309.00</td>\n",
       "      <td>2720.90</td>\n",
       "      <td>907.50</td>\n",
       "      <td>1173.00</td>\n",
       "      <td>1072.50</td>\n",
       "      <td>100.50</td>\n",
       "      <td>640.40</td>\n",
       "      <td>125.50</td>\n",
       "      <td>211.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>1972</td>\n",
       "      <td>2518.10</td>\n",
       "      <td>292.00</td>\n",
       "      <td>2518.10</td>\n",
       "      <td>827.40</td>\n",
       "      <td>1084.20</td>\n",
       "      <td>989.90</td>\n",
       "      <td>94.30</td>\n",
       "      <td>606.50</td>\n",
       "      <td>118.00</td>\n",
       "      <td>194.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>1971</td>\n",
       "      <td>2426.40</td>\n",
       "      <td>288.00</td>\n",
       "      <td>2426.40</td>\n",
       "      <td>826.30</td>\n",
       "      <td>1022.80</td>\n",
       "      <td>926.60</td>\n",
       "      <td>96.20</td>\n",
       "      <td>577.30</td>\n",
       "      <td>108.40</td>\n",
       "      <td>178.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>1970</td>\n",
       "      <td>2252.70</td>\n",
       "      <td>275.00</td>\n",
       "      <td>2252.70</td>\n",
       "      <td>793.30</td>\n",
       "      <td>912.20</td>\n",
       "      <td>828.10</td>\n",
       "      <td>84.10</td>\n",
       "      <td>547.20</td>\n",
       "      <td>100.20</td>\n",
       "      <td>178.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>1969</td>\n",
       "      <td>1937.90</td>\n",
       "      <td>243.00</td>\n",
       "      <td>1937.90</td>\n",
       "      <td>736.20</td>\n",
       "      <td>689.10</td>\n",
       "      <td>626.10</td>\n",
       "      <td>63.00</td>\n",
       "      <td>512.60</td>\n",
       "      <td>84.90</td>\n",
       "      <td>163.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>1968</td>\n",
       "      <td>1723.10</td>\n",
       "      <td>222.00</td>\n",
       "      <td>1723.10</td>\n",
       "      <td>726.30</td>\n",
       "      <td>537.30</td>\n",
       "      <td>490.30</td>\n",
       "      <td>47.00</td>\n",
       "      <td>459.50</td>\n",
       "      <td>70.50</td>\n",
       "      <td>138.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50</th>\n",
       "      <td>1967</td>\n",
       "      <td>1773.90</td>\n",
       "      <td>235.00</td>\n",
       "      <td>1773.90</td>\n",
       "      <td>714.20</td>\n",
       "      <td>602.80</td>\n",
       "      <td>544.90</td>\n",
       "      <td>57.90</td>\n",
       "      <td>456.90</td>\n",
       "      <td>72.30</td>\n",
       "      <td>153.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51</th>\n",
       "      <td>1966</td>\n",
       "      <td>1868.00</td>\n",
       "      <td>254.00</td>\n",
       "      <td>1868.00</td>\n",
       "      <td>702.20</td>\n",
       "      <td>709.50</td>\n",
       "      <td>648.60</td>\n",
       "      <td>60.90</td>\n",
       "      <td>456.30</td>\n",
       "      <td>85.10</td>\n",
       "      <td>148.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>52</th>\n",
       "      <td>1965</td>\n",
       "      <td>1716.10</td>\n",
       "      <td>240.00</td>\n",
       "      <td>1716.10</td>\n",
       "      <td>651.10</td>\n",
       "      <td>602.20</td>\n",
       "      <td>546.50</td>\n",
       "      <td>55.70</td>\n",
       "      <td>462.80</td>\n",
       "      <td>77.40</td>\n",
       "      <td>118.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>53</th>\n",
       "      <td>1964</td>\n",
       "      <td>1454.00</td>\n",
       "      <td>208.00</td>\n",
       "      <td>1454.00</td>\n",
       "      <td>559.00</td>\n",
       "      <td>513.50</td>\n",
       "      <td>461.10</td>\n",
       "      <td>52.40</td>\n",
       "      <td>381.50</td>\n",
       "      <td>58.40</td>\n",
       "      <td>94.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>54</th>\n",
       "      <td>1963</td>\n",
       "      <td>1233.30</td>\n",
       "      <td>181.00</td>\n",
       "      <td>1233.30</td>\n",
       "      <td>497.50</td>\n",
       "      <td>407.60</td>\n",
       "      <td>365.60</td>\n",
       "      <td>42.00</td>\n",
       "      <td>328.20</td>\n",
       "      <td>55.00</td>\n",
       "      <td>76.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>55</th>\n",
       "      <td>1962</td>\n",
       "      <td>1149.30</td>\n",
       "      <td>173.00</td>\n",
       "      <td>1149.30</td>\n",
       "      <td>453.10</td>\n",
       "      <td>359.30</td>\n",
       "      <td>325.40</td>\n",
       "      <td>33.90</td>\n",
       "      <td>336.90</td>\n",
       "      <td>57.40</td>\n",
       "      <td>80.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>56</th>\n",
       "      <td>1961</td>\n",
       "      <td>1220.00</td>\n",
       "      <td>185.00</td>\n",
       "      <td>1220.00</td>\n",
       "      <td>441.10</td>\n",
       "      <td>388.90</td>\n",
       "      <td>362.10</td>\n",
       "      <td>26.80</td>\n",
       "      <td>390.00</td>\n",
       "      <td>69.20</td>\n",
       "      <td>110.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>57</th>\n",
       "      <td>1960</td>\n",
       "      <td>1457.00</td>\n",
       "      <td>218.00</td>\n",
       "      <td>1457.00</td>\n",
       "      <td>340.70</td>\n",
       "      <td>648.20</td>\n",
       "      <td>568.20</td>\n",
       "      <td>80.00</td>\n",
       "      <td>468.10</td>\n",
       "      <td>104.00</td>\n",
       "      <td>133.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>58</th>\n",
       "      <td>1959</td>\n",
       "      <td>1439.00</td>\n",
       "      <td>216.00</td>\n",
       "      <td>1439.00</td>\n",
       "      <td>383.80</td>\n",
       "      <td>615.50</td>\n",
       "      <td>538.50</td>\n",
       "      <td>77.00</td>\n",
       "      <td>439.70</td>\n",
       "      <td>94.00</td>\n",
       "      <td>145.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59</th>\n",
       "      <td>1958</td>\n",
       "      <td>1307.00</td>\n",
       "      <td>200.00</td>\n",
       "      <td>1307.00</td>\n",
       "      <td>445.90</td>\n",
       "      <td>483.50</td>\n",
       "      <td>414.50</td>\n",
       "      <td>69.00</td>\n",
       "      <td>377.60</td>\n",
       "      <td>71.00</td>\n",
       "      <td>136.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>60</th>\n",
       "      <td>1957</td>\n",
       "      <td>1068.00</td>\n",
       "      <td>168.00</td>\n",
       "      <td>1068.00</td>\n",
       "      <td>430.00</td>\n",
       "      <td>317.00</td>\n",
       "      <td>271.00</td>\n",
       "      <td>46.00</td>\n",
       "      <td>321.00</td>\n",
       "      <td>49.00</td>\n",
       "      <td>133.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>61</th>\n",
       "      <td>1956</td>\n",
       "      <td>1028.00</td>\n",
       "      <td>165.00</td>\n",
       "      <td>1028.00</td>\n",
       "      <td>443.90</td>\n",
       "      <td>280.70</td>\n",
       "      <td>224.70</td>\n",
       "      <td>56.00</td>\n",
       "      <td>303.40</td>\n",
       "      <td>46.00</td>\n",
       "      <td>131.40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62</th>\n",
       "      <td>1955</td>\n",
       "      <td>910.00</td>\n",
       "      <td>150.00</td>\n",
       "      <td>910.00</td>\n",
       "      <td>421.00</td>\n",
       "      <td>222.20</td>\n",
       "      <td>191.20</td>\n",
       "      <td>31.00</td>\n",
       "      <td>266.80</td>\n",
       "      <td>39.00</td>\n",
       "      <td>119.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>63</th>\n",
       "      <td>1954</td>\n",
       "      <td>859.00</td>\n",
       "      <td>144.00</td>\n",
       "      <td>859.00</td>\n",
       "      <td>392.00</td>\n",
       "      <td>211.70</td>\n",
       "      <td>184.70</td>\n",
       "      <td>27.00</td>\n",
       "      <td>255.30</td>\n",
       "      <td>38.00</td>\n",
       "      <td>120.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>64</th>\n",
       "      <td>1953</td>\n",
       "      <td>824.00</td>\n",
       "      <td>142.00</td>\n",
       "      <td>824.00</td>\n",
       "      <td>378.00</td>\n",
       "      <td>192.50</td>\n",
       "      <td>163.50</td>\n",
       "      <td>29.00</td>\n",
       "      <td>253.50</td>\n",
       "      <td>35.00</td>\n",
       "      <td>115.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>65</th>\n",
       "      <td>1952</td>\n",
       "      <td>679.00</td>\n",
       "      <td>119.00</td>\n",
       "      <td>679.00</td>\n",
       "      <td>342.90</td>\n",
       "      <td>141.80</td>\n",
       "      <td>119.80</td>\n",
       "      <td>22.00</td>\n",
       "      <td>194.30</td>\n",
       "      <td>29.00</td>\n",
       "      <td>80.30</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>66 rows × 11 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    year        gdp    pc_gdp        gnp        pi         si   industry  \\\n",
       "0   2017  827122.00  59660.00        NaN  65468.00  334623.00  279996.90   \n",
       "1   2016  743585.50  53935.00        NaN  63672.80  296547.70  247877.70   \n",
       "2   2015  689052.10  50251.00        NaN  60862.10  282040.30  236506.30   \n",
       "3   2014  643974.00  47203.00        NaN  58343.50  277571.80  233856.40   \n",
       "4   2013  588018.80  43852.00        NaN  55321.70  261956.10  210689.42   \n",
       "5   2012  534123.00  40007.00        NaN  50892.70  240200.40  199670.66   \n",
       "6   2011  484123.50  35197.79        NaN  46153.30  223390.30  188470.15   \n",
       "7   2010  401202.00  29992.00  403260.00  40533.60  187581.42  160867.01   \n",
       "8   2009  340902.80  25608.00  341401.50  35226.00  157638.80  135239.90   \n",
       "9   2008  314045.40  23708.00  315274.70  33702.00  149003.40  130260.20   \n",
       "10  2007  265810.30  20169.00  266411.00  28627.00  125831.40  110534.90   \n",
       "11  2006  216314.43  16499.70  215904.41  24040.00  103719.54   91310.94   \n",
       "12  2005  184937.37  14185.36  183617.37  22420.00   87598.09   77230.78   \n",
       "13  2004  159878.34  12335.58  159453.60  21412.73   73904.31   65210.03   \n",
       "14  2003  135822.76  10541.97  134976.97  17381.72   62436.31   54945.53   \n",
       "15  2002  120332.69   9398.05  119095.69  16537.02   53896.77   47431.31   \n",
       "16  2001  109655.17   8621.71  108068.22  15781.27   49512.29   43580.62   \n",
       "17  2000   99214.55   7857.68   98000.45  14944.72   45555.88   40033.59   \n",
       "18  1999   89677.10   7159.00   88479.20  14770.00   41033.60   35861.50   \n",
       "19  1998   84402.30   6796.00   83024.30  14817.60   39004.20   34018.40   \n",
       "20  1997   78973.00   6420.00   78060.80  14441.90   37543.00   32921.40   \n",
       "21  1996   71176.60   5846.00   70142.50  14015.40   33835.00   29447.60   \n",
       "22  1995   60793.70   5046.00   59810.50  12135.80   28679.50   24950.60   \n",
       "23  1994   48197.90   4044.00   48108.50   9572.70   22445.40   19480.70   \n",
       "24  1993   35333.90   2998.00   35260.00   6963.80   16454.40   14188.00   \n",
       "25  1992   26923.50   2311.00   26937.30   5866.60   11699.50   10284.50   \n",
       "26  1991   21781.50   1893.00   21826.20   5342.20    9102.20    8087.10   \n",
       "27  1990   18667.80   1644.00   18718.30   5062.00    7717.40    6858.00   \n",
       "28  1989   16992.30   1519.00   17000.90   4265.90    7278.00    6484.00   \n",
       "29  1988   15042.80   1366.00   15036.80   3865.40    6587.20    5777.20   \n",
       "..   ...        ...       ...        ...       ...        ...        ...   \n",
       "36  1981    4891.60    492.00    4889.50   1559.50    2255.50    2048.40   \n",
       "37  1980    4545.60    463.00    4545.60   1371.60    2192.00    1996.50   \n",
       "38  1979    4062.60    419.00    4062.60   1270.20    1913.50    1769.70   \n",
       "39  1978    3645.20    381.00    3645.20   1027.50    1745.20    1607.00   \n",
       "40  1977    3201.90    339.00    3201.90    942.10    1509.10    1372.40   \n",
       "41  1976    2943.70    316.00    2943.70    967.00    1337.20    1204.60   \n",
       "42  1975    2997.30    327.00    2997.30    971.10    1370.50    1244.90   \n",
       "43  1974    2789.90    310.00    2789.90    945.20    1192.00    1083.60   \n",
       "44  1973    2720.90    309.00    2720.90    907.50    1173.00    1072.50   \n",
       "45  1972    2518.10    292.00    2518.10    827.40    1084.20     989.90   \n",
       "46  1971    2426.40    288.00    2426.40    826.30    1022.80     926.60   \n",
       "47  1970    2252.70    275.00    2252.70    793.30     912.20     828.10   \n",
       "48  1969    1937.90    243.00    1937.90    736.20     689.10     626.10   \n",
       "49  1968    1723.10    222.00    1723.10    726.30     537.30     490.30   \n",
       "50  1967    1773.90    235.00    1773.90    714.20     602.80     544.90   \n",
       "51  1966    1868.00    254.00    1868.00    702.20     709.50     648.60   \n",
       "52  1965    1716.10    240.00    1716.10    651.10     602.20     546.50   \n",
       "53  1964    1454.00    208.00    1454.00    559.00     513.50     461.10   \n",
       "54  1963    1233.30    181.00    1233.30    497.50     407.60     365.60   \n",
       "55  1962    1149.30    173.00    1149.30    453.10     359.30     325.40   \n",
       "56  1961    1220.00    185.00    1220.00    441.10     388.90     362.10   \n",
       "57  1960    1457.00    218.00    1457.00    340.70     648.20     568.20   \n",
       "58  1959    1439.00    216.00    1439.00    383.80     615.50     538.50   \n",
       "59  1958    1307.00    200.00    1307.00    445.90     483.50     414.50   \n",
       "60  1957    1068.00    168.00    1068.00    430.00     317.00     271.00   \n",
       "61  1956    1028.00    165.00    1028.00    443.90     280.70     224.70   \n",
       "62  1955     910.00    150.00     910.00    421.00     222.20     191.20   \n",
       "63  1954     859.00    144.00     859.00    392.00     211.70     184.70   \n",
       "64  1953     824.00    142.00     824.00    378.00     192.50     163.50   \n",
       "65  1952     679.00    119.00     679.00    342.90     141.80     119.80   \n",
       "\n",
       "    cons_industry         ti  trans_industry      lbdy  \n",
       "0        55689.00  427032.00        36802.70  77743.70  \n",
       "1        49702.90  383365.00        33058.80  84571.50  \n",
       "2        46626.70  346149.70        30487.80  78340.70  \n",
       "3        44880.50  308058.60        28500.90  73582.00  \n",
       "4        38995.00  275887.00        27282.93  67778.15  \n",
       "5        35491.34  243030.00        24660.00  60295.21  \n",
       "6        31942.66  214579.90        22432.84  52903.35  \n",
       "7        26714.41  173087.00        18968.48  43814.55  \n",
       "8        22398.80  148038.00        16727.10  36102.70  \n",
       "9        18743.20  131340.00        16362.50  32798.40  \n",
       "10       15296.50  111351.90        14601.00  26485.90  \n",
       "11       12408.60   88554.88        12182.98  21323.31  \n",
       "12       10367.32   74919.28        10666.16  18161.89  \n",
       "13        8694.28   64561.29         9304.39  16118.65  \n",
       "14        7490.78   56004.73         7913.19  14295.53  \n",
       "15        6465.46   49898.90         7492.95  12720.10  \n",
       "16        5931.67   44361.61         6870.25  11519.54  \n",
       "17        5522.29   38713.95         6160.95  10304.85  \n",
       "18        5172.10   33873.40         5175.20   9432.30  \n",
       "19        4985.80   30580.50         4660.90   8700.10  \n",
       "20        4621.60   26988.10         4148.60   7888.70  \n",
       "21        4387.40   23326.20         3782.20   6936.50  \n",
       "22        3728.80   19978.50         3244.30   5978.70  \n",
       "23        2964.70   16179.80         2787.90   4781.90  \n",
       "24        2266.50   11915.70         2174.00   3528.70  \n",
       "25        1415.00    9357.40         1689.00   2989.60  \n",
       "26        1015.10    7337.10         1420.30   2276.90  \n",
       "27         859.40    5888.40         1167.00   1570.80  \n",
       "28         794.00    5448.40          812.70   1813.60  \n",
       "29         810.00    4590.30          685.70   1724.80  \n",
       "..            ...        ...             ...       ...  \n",
       "36         207.10    1076.60          220.70    285.20  \n",
       "37         195.50     982.00          213.40    241.20  \n",
       "38         143.80     878.90          193.70    244.90  \n",
       "39         138.20     872.50          182.00    286.90  \n",
       "40         136.70     750.70          156.90    213.80  \n",
       "41         132.60     639.50          139.60    147.20  \n",
       "42         125.60     655.70          141.60    175.80  \n",
       "43         108.40     652.70          126.10    206.60  \n",
       "44         100.50     640.40          125.50    211.00  \n",
       "45          94.30     606.50          118.00    194.30  \n",
       "46          96.20     577.30          108.40    178.30  \n",
       "47          84.10     547.20          100.20    178.10  \n",
       "48          63.00     512.60           84.90    163.60  \n",
       "49          47.00     459.50           70.50    138.90  \n",
       "50          57.90     456.90           72.30    153.50  \n",
       "51          60.90     456.30           85.10    148.10  \n",
       "52          55.70     462.80           77.40    118.30  \n",
       "53          52.40     381.50           58.40     94.00  \n",
       "54          42.00     328.20           55.00     76.10  \n",
       "55          33.90     336.90           57.40     80.50  \n",
       "56          26.80     390.00           69.20    110.80  \n",
       "57          80.00     468.10          104.00    133.10  \n",
       "58          77.00     439.70           94.00    145.70  \n",
       "59          69.00     377.60           71.00    136.60  \n",
       "60          46.00     321.00           49.00    133.00  \n",
       "61          56.00     303.40           46.00    131.40  \n",
       "62          31.00     266.80           39.00    119.80  \n",
       "63          27.00     255.30           38.00    120.30  \n",
       "64          29.00     253.50           35.00    115.50  \n",
       "65          22.00     194.30           29.00     80.30  \n",
       "\n",
       "[66 rows x 11 columns]"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import tushare as ts\n",
    "\n",
    "ts.get_gdp_year()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 国内生产总值(季度)\n",
    "\n",
    "调用方法：\n",
    "\n",
    "import tushare as ts\n",
    "\n",
    "ts.get_gdp_quarter()\n",
    "\n",
    "返回值说明：\n",
    "\n",
    "    quarter :季度\n",
    "    gdp :国内生产总值(亿元)\n",
    "    gdp_yoy :国内生产总值同比增长(%)\n",
    "    pi :第一产业增加值(亿元)\n",
    "    pi_yoy:第一产业增加值同比增长(%)\n",
    "    si :第二产业增加值(亿元)\n",
    "    si_yoy :第二产业增加值同比增长(%)\n",
    "    ti :第三产业增加值(亿元)\n",
    "    ti_yoy :第三产业增加值同比增长(%)\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 三大需求对GDP贡献\n",
    "\n",
    "调用方法：\n",
    "\n",
    "import tushare as ts\n",
    "\n",
    "ts.get_gdp_for()\n",
    "\n",
    "返回值说明：\n",
    "\n",
    "    year :统计年度\n",
    "    end_for :最终消费支出贡献率(%)\n",
    "    for_rate :最终消费支出拉动(百分点)\n",
    "    asset_for :资本形成总额贡献率(%)\n",
    "    asset_rate:资本形成总额拉动(百分点)\n",
    "    goods_for :货物和服务净出口贡献率(%)\n",
    "    goods_rate :货物和服务净出口拉动(百分点)\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 三大产业对GDP拉动\n",
    "\n",
    "调用方法：\n",
    "\n",
    "import tushare as ts\n",
    "\n",
    "ts.get_gdp_pull()\n",
    "\n",
    "返回值说明：\n",
    "\n",
    "    year :统计年度\n",
    "    gdp_yoy :国内生产总值同比增长(%)\n",
    "    pi :第一产业拉动率(%)\n",
    "    si :第二产业拉动率(%)\n",
    "    industry:其中工业拉动(%)\n",
    "    ti :第三产业拉动率(%)\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 三大产业贡献率\n",
    "\n",
    "调用方法：\n",
    "\n",
    "import tushare as ts\n",
    "\n",
    "ts.get_gdp_contrib()\n",
    "\n",
    "返回值说明：\n",
    "\n",
    "    year :统计年度\n",
    "    gdp_yoy :国内生产总值\n",
    "    pi :第一产业献率(%)\n",
    "    si :第二产业献率(%)\n",
    "    industry:其中工业献率(%)\n",
    "    ti :第三产业献率(%)\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 居民消费价格指数\n",
    "\n",
    "调用方法：\n",
    "\n",
    "import tushare as ts\n",
    "\n",
    "ts.get_cpi()\n",
    "\n",
    "返回值说明：\n",
    "\n",
    "    month :统计月份\n",
    "    cpi :价格指数\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "import tushare as ts\n",
    "\n",
    "cpi = ts.get_cpi()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [],
   "source": [
    "cpi = cpi.sort_index(ascending=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>month</th>\n",
       "      <th>cpi</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>341</th>\n",
       "      <td>1990.1</td>\n",
       "      <td>104.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>340</th>\n",
       "      <td>1990.2</td>\n",
       "      <td>104.40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>339</th>\n",
       "      <td>1990.3</td>\n",
       "      <td>103.40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>338</th>\n",
       "      <td>1990.4</td>\n",
       "      <td>103.20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>337</th>\n",
       "      <td>1990.5</td>\n",
       "      <td>102.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>336</th>\n",
       "      <td>1990.6</td>\n",
       "      <td>101.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>335</th>\n",
       "      <td>1990.7</td>\n",
       "      <td>101.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>334</th>\n",
       "      <td>1990.8</td>\n",
       "      <td>102.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>333</th>\n",
       "      <td>1990.9</td>\n",
       "      <td>102.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>332</th>\n",
       "      <td>1990.10</td>\n",
       "      <td>103.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>331</th>\n",
       "      <td>1990.11</td>\n",
       "      <td>103.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>330</th>\n",
       "      <td>1990.12</td>\n",
       "      <td>104.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>329</th>\n",
       "      <td>1991.1</td>\n",
       "      <td>102.20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>328</th>\n",
       "      <td>1991.2</td>\n",
       "      <td>101.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>327</th>\n",
       "      <td>1991.3</td>\n",
       "      <td>101.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>326</th>\n",
       "      <td>1991.4</td>\n",
       "      <td>101.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>325</th>\n",
       "      <td>1991.5</td>\n",
       "      <td>103.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>324</th>\n",
       "      <td>1991.6</td>\n",
       "      <td>104.40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>323</th>\n",
       "      <td>1991.7</td>\n",
       "      <td>104.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>322</th>\n",
       "      <td>1991.8</td>\n",
       "      <td>104.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>321</th>\n",
       "      <td>1991.9</td>\n",
       "      <td>104.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>320</th>\n",
       "      <td>1991.10</td>\n",
       "      <td>104.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>319</th>\n",
       "      <td>1991.11</td>\n",
       "      <td>104.40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>318</th>\n",
       "      <td>1991.12</td>\n",
       "      <td>104.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>317</th>\n",
       "      <td>1992.1</td>\n",
       "      <td>105.50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>316</th>\n",
       "      <td>1992.2</td>\n",
       "      <td>105.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>315</th>\n",
       "      <td>1992.3</td>\n",
       "      <td>105.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>314</th>\n",
       "      <td>1992.4</td>\n",
       "      <td>107.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>313</th>\n",
       "      <td>1992.5</td>\n",
       "      <td>104.70</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>312</th>\n",
       "      <td>1992.6</td>\n",
       "      <td>104.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>2016.1</td>\n",
       "      <td>101.75</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>2016.2</td>\n",
       "      <td>102.28</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>2016.3</td>\n",
       "      <td>102.30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>2016.4</td>\n",
       "      <td>102.33</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>2016.5</td>\n",
       "      <td>102.04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>2016.6</td>\n",
       "      <td>101.88</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>2016.7</td>\n",
       "      <td>101.77</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>2016.8</td>\n",
       "      <td>101.34</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>2016.9</td>\n",
       "      <td>101.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>2016.10</td>\n",
       "      <td>102.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>2016.11</td>\n",
       "      <td>102.25</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>2016.12</td>\n",
       "      <td>103.04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2017.1</td>\n",
       "      <td>102.55</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2017.2</td>\n",
       "      <td>102.39</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2017.3</td>\n",
       "      <td>100.92</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>2017.4</td>\n",
       "      <td>101.17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2017.5</td>\n",
       "      <td>101.45</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2017.6</td>\n",
       "      <td>101.64</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2017.7</td>\n",
       "      <td>101.40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2017.8</td>\n",
       "      <td>101.77</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2017.9</td>\n",
       "      <td>101.60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2017.10</td>\n",
       "      <td>101.87</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2017.11</td>\n",
       "      <td>101.73</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2017.12</td>\n",
       "      <td>101.85</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2018.1</td>\n",
       "      <td>101.47</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2018.2</td>\n",
       "      <td>102.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2018.3</td>\n",
       "      <td>102.06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2018.4</td>\n",
       "      <td>101.80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2018.5</td>\n",
       "      <td>101.75</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2018.6</td>\n",
       "      <td>101.90</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>342 rows × 2 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       month     cpi\n",
       "341   1990.1  104.30\n",
       "340   1990.2  104.40\n",
       "339   1990.3  103.40\n",
       "338   1990.4  103.20\n",
       "337   1990.5  102.70\n",
       "336   1990.6  101.10\n",
       "335   1990.7  101.10\n",
       "334   1990.8  102.50\n",
       "333   1990.9  102.90\n",
       "332  1990.10  103.10\n",
       "331  1990.11  103.70\n",
       "330  1990.12  104.30\n",
       "329   1991.1  102.20\n",
       "328   1991.2  101.00\n",
       "327   1991.3  101.60\n",
       "326   1991.4  101.30\n",
       "325   1991.5  103.60\n",
       "324   1991.6  104.40\n",
       "323   1991.7  104.70\n",
       "322   1991.8  104.90\n",
       "321   1991.9  104.50\n",
       "320  1991.10  104.80\n",
       "319  1991.11  104.40\n",
       "318  1991.12  104.50\n",
       "317   1992.1  105.50\n",
       "316   1992.2  105.30\n",
       "315   1992.3  105.30\n",
       "314   1992.4  107.10\n",
       "313   1992.5  104.70\n",
       "312   1992.6  104.80\n",
       "..       ...     ...\n",
       "29    2016.1  101.75\n",
       "28    2016.2  102.28\n",
       "27    2016.3  102.30\n",
       "26    2016.4  102.33\n",
       "25    2016.5  102.04\n",
       "24    2016.6  101.88\n",
       "23    2016.7  101.77\n",
       "22    2016.8  101.34\n",
       "21    2016.9  101.90\n",
       "20   2016.10  102.10\n",
       "19   2016.11  102.25\n",
       "18   2016.12  103.04\n",
       "17    2017.1  102.55\n",
       "16    2017.2  102.39\n",
       "15    2017.3  100.92\n",
       "14    2017.4  101.17\n",
       "13    2017.5  101.45\n",
       "12    2017.6  101.64\n",
       "11    2017.7  101.40\n",
       "10    2017.8  101.77\n",
       "9     2017.9  101.60\n",
       "8    2017.10  101.87\n",
       "7    2017.11  101.73\n",
       "6    2017.12  101.85\n",
       "5     2018.1  101.47\n",
       "4     2018.2  102.90\n",
       "3     2018.3  102.06\n",
       "2     2018.4  101.80\n",
       "1     2018.5  101.75\n",
       "0     2018.6  101.90\n",
       "\n",
       "[342 rows x 2 columns]"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "cpi"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>month</th>\n",
       "      <th>cpi</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>341</th>\n",
       "      <td>1990.1</td>\n",
       "      <td>104.3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>340</th>\n",
       "      <td>1990.11990.2</td>\n",
       "      <td>208.7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>339</th>\n",
       "      <td>1990.11990.21990.3</td>\n",
       "      <td>312.1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>338</th>\n",
       "      <td>1990.11990.21990.31990.4</td>\n",
       "      <td>415.3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>337</th>\n",
       "      <td>1990.11990.21990.31990.41990.5</td>\n",
       "      <td>518</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>336</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.6</td>\n",
       "      <td>619.1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>335</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.7</td>\n",
       "      <td>720.2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>334</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990.8</td>\n",
       "      <td>822.7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>333</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>925.6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>332</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>1028.7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>331</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>1132.4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>330</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>1236.7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>329</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>1338.9</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>328</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>1439.9</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>327</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>1541.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>326</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>1642.8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>325</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>1746.4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>324</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>1850.8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>323</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>1955.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>322</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>2060.4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>321</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>2164.9</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>320</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>2269.7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>319</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>2374.1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>318</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>2478.6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>317</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>2584.1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>316</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>2689.4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>315</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>2794.7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>314</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>2901.8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>313</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>3006.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>312</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>3111.3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>32670.2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>32772.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>32874.8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>32977.2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>33079.2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>33181.1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>33282.8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>33384.2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>33486.1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>33588.2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>33690.4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>33793.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>33896</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>33998.4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>34099.3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>34200.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>34302</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>34403.6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>34505</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>34606.8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>34708.4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>34810.2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>34912</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>35013.8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>35115.3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>35218.2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>35320.2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>35422</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>35523.8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1990.11990.21990.31990.41990.51990.61990.71990...</td>\n",
       "      <td>35625.7</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>342 rows × 2 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                 month      cpi\n",
       "341                                             1990.1    104.3\n",
       "340                                       1990.11990.2    208.7\n",
       "339                                 1990.11990.21990.3    312.1\n",
       "338                           1990.11990.21990.31990.4    415.3\n",
       "337                     1990.11990.21990.31990.41990.5      518\n",
       "336               1990.11990.21990.31990.41990.51990.6    619.1\n",
       "335         1990.11990.21990.31990.41990.51990.61990.7    720.2\n",
       "334   1990.11990.21990.31990.41990.51990.61990.71990.8    822.7\n",
       "333  1990.11990.21990.31990.41990.51990.61990.71990...    925.6\n",
       "332  1990.11990.21990.31990.41990.51990.61990.71990...   1028.7\n",
       "331  1990.11990.21990.31990.41990.51990.61990.71990...   1132.4\n",
       "330  1990.11990.21990.31990.41990.51990.61990.71990...   1236.7\n",
       "329  1990.11990.21990.31990.41990.51990.61990.71990...   1338.9\n",
       "328  1990.11990.21990.31990.41990.51990.61990.71990...   1439.9\n",
       "327  1990.11990.21990.31990.41990.51990.61990.71990...   1541.5\n",
       "326  1990.11990.21990.31990.41990.51990.61990.71990...   1642.8\n",
       "325  1990.11990.21990.31990.41990.51990.61990.71990...   1746.4\n",
       "324  1990.11990.21990.31990.41990.51990.61990.71990...   1850.8\n",
       "323  1990.11990.21990.31990.41990.51990.61990.71990...   1955.5\n",
       "322  1990.11990.21990.31990.41990.51990.61990.71990...   2060.4\n",
       "321  1990.11990.21990.31990.41990.51990.61990.71990...   2164.9\n",
       "320  1990.11990.21990.31990.41990.51990.61990.71990...   2269.7\n",
       "319  1990.11990.21990.31990.41990.51990.61990.71990...   2374.1\n",
       "318  1990.11990.21990.31990.41990.51990.61990.71990...   2478.6\n",
       "317  1990.11990.21990.31990.41990.51990.61990.71990...   2584.1\n",
       "316  1990.11990.21990.31990.41990.51990.61990.71990...   2689.4\n",
       "315  1990.11990.21990.31990.41990.51990.61990.71990...   2794.7\n",
       "314  1990.11990.21990.31990.41990.51990.61990.71990...   2901.8\n",
       "313  1990.11990.21990.31990.41990.51990.61990.71990...   3006.5\n",
       "312  1990.11990.21990.31990.41990.51990.61990.71990...   3111.3\n",
       "..                                                 ...      ...\n",
       "29   1990.11990.21990.31990.41990.51990.61990.71990...  32670.2\n",
       "28   1990.11990.21990.31990.41990.51990.61990.71990...  32772.5\n",
       "27   1990.11990.21990.31990.41990.51990.61990.71990...  32874.8\n",
       "26   1990.11990.21990.31990.41990.51990.61990.71990...  32977.2\n",
       "25   1990.11990.21990.31990.41990.51990.61990.71990...  33079.2\n",
       "24   1990.11990.21990.31990.41990.51990.61990.71990...  33181.1\n",
       "23   1990.11990.21990.31990.41990.51990.61990.71990...  33282.8\n",
       "22   1990.11990.21990.31990.41990.51990.61990.71990...  33384.2\n",
       "21   1990.11990.21990.31990.41990.51990.61990.71990...  33486.1\n",
       "20   1990.11990.21990.31990.41990.51990.61990.71990...  33588.2\n",
       "19   1990.11990.21990.31990.41990.51990.61990.71990...  33690.4\n",
       "18   1990.11990.21990.31990.41990.51990.61990.71990...  33793.5\n",
       "17   1990.11990.21990.31990.41990.51990.61990.71990...    33896\n",
       "16   1990.11990.21990.31990.41990.51990.61990.71990...  33998.4\n",
       "15   1990.11990.21990.31990.41990.51990.61990.71990...  34099.3\n",
       "14   1990.11990.21990.31990.41990.51990.61990.71990...  34200.5\n",
       "13   1990.11990.21990.31990.41990.51990.61990.71990...    34302\n",
       "12   1990.11990.21990.31990.41990.51990.61990.71990...  34403.6\n",
       "11   1990.11990.21990.31990.41990.51990.61990.71990...    34505\n",
       "10   1990.11990.21990.31990.41990.51990.61990.71990...  34606.8\n",
       "9    1990.11990.21990.31990.41990.51990.61990.71990...  34708.4\n",
       "8    1990.11990.21990.31990.41990.51990.61990.71990...  34810.2\n",
       "7    1990.11990.21990.31990.41990.51990.61990.71990...    34912\n",
       "6    1990.11990.21990.31990.41990.51990.61990.71990...  35013.8\n",
       "5    1990.11990.21990.31990.41990.51990.61990.71990...  35115.3\n",
       "4    1990.11990.21990.31990.41990.51990.61990.71990...  35218.2\n",
       "3    1990.11990.21990.31990.41990.51990.61990.71990...  35320.2\n",
       "2    1990.11990.21990.31990.41990.51990.61990.71990...    35422\n",
       "1    1990.11990.21990.31990.41990.51990.61990.71990...  35523.8\n",
       "0    1990.11990.21990.31990.41990.51990.61990.71990...  35625.7\n",
       "\n",
       "[342 rows x 2 columns]"
      ]
     },
     "execution_count": 29,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "cpi.cumsum()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 工业品出厂价格指数\n",
    "\n",
    "调用方法：\n",
    "\n",
    "import tushare as ts\n",
    "\n",
    "ts.get_ppi()\n",
    "\n",
    "返回值说明：\n",
    "\n",
    "    month :统计月份\n",
    "    ppiip :工业品出厂价格指数\n",
    "    ppi :生产资料价格指数\n",
    "    qm:采掘工业价格指数\n",
    "    rmi:原材料工业价格指数\n",
    "    pi:加工工业价格指数\n",
    "    cg:生活资料价格指数\n",
    "    food:食品类价格指数\n",
    "    clothing:衣着类价格指数\n",
    "    roeu:一般日用品价格指数\n",
    "    dcg:耐用消费品价格指数\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
